We present measurements of the loss-rate coefficients K_am and K_mm caused by inelastic atom-molecule and molecule-molecule collisions. A thermal cloud of atomic 87Rb is prepared in an optical dipole trap. A magnetic field is ramped across the Feshbach resonance at 1007.4 G. This associates atom pairs to molecules. A measurement of the molecule loss at 1005.8 G yields K_am=2 10^-10 cm^3/s. Additionally, the atoms can be removed with blast light. In this case, the measured molecule loss yields K_mm=3 10^-10 cm^3/s.