OSDN Git Service

core: Fix memory leak in device_remove_profiles
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 5 Jun 2013 04:31:22 +0000 (07:31 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 7 Jun 2013 15:00:27 +0000 (18:00 +0300)
commit9052edc5910d55ad2f693cfb9b405003a7d4032a
treef06f97102d50d09cb0e56f5ad466b54fc44d3756
parent6d8d1a59bc2b3012216c53624d1689822b4f21e1
core: Fix memory leak in device_remove_profiles

Calling just g_slist_free will not free the actual elements (which are
each allocated with g_strdup).
src/device.c