OSDN Git Service

core: Fix another memory leak when removing profiles
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 5 Jun 2013 04:43:10 +0000 (07:43 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 7 Jun 2013 15:00:27 +0000 (18:00 +0300)
commitcbee333815ef601f863d481b7b8da9e2805331c4
treef4a43bb5ecf04ea7c890166b83ec65f12a04f1d4
parent9052edc5910d55ad2f693cfb9b405003a7d4032a
core: Fix another memory leak when removing profiles

If one place inserts to req->profiles_removed with g_strdup then all
places must do it, and if all places do it then g_free must be used when
removing from it.
src/device.c