celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abroekh...@apache.org
Subject svn commit: r1150996 - /incubator/celix/trunk/framework/private/src/service_tracker.c
Date Tue, 26 Jul 2011 06:46:58 GMT
Author: abroekhuis
Date: Tue Jul 26 06:46:57 2011
New Revision: 1150996

URL: http://svn.apache.org/viewvc?rev=1150996&view=rev
Log:
#CELIX-12: Bugfixes for the service tracker

Modified:
    incubator/celix/trunk/framework/private/src/service_tracker.c

Modified: incubator/celix/trunk/framework/private/src/service_tracker.c
URL: http://svn.apache.org/viewvc/incubator/celix/trunk/framework/private/src/service_tracker.c?rev=1150996&r1=1150995&r2=1150996&view=diff
==============================================================================
--- incubator/celix/trunk/framework/private/src/service_tracker.c (original)
+++ incubator/celix/trunk/framework/private/src/service_tracker.c Tue Jul 26 06:46:57 2011
@@ -46,9 +46,7 @@ SERVICE_TRACKER tracker_create(BUNDLE_CO
 
 	fw_tracker->tracker = tracker;
 	fw_tracker->tracked = arrayList_create();
-	if (customizer != NULL) {
-		fw_tracker->customizer = customizer;
-	}
+	fw_tracker->customizer = customizer;
 
 	arrayList_add(m_trackers, fw_tracker);
 
@@ -106,7 +104,6 @@ void tracker_destroy(SERVICE_TRACKER tra
 	FW_SERVICE_TRACKER fwTracker = findFwServiceTracker(tracker);
 	bundleContext_removeServiceListener(tracker->context, fwTracker->listener);
 	free(fwTracker->listener);
-	free(fwTracker->customizer);
 	tracker = NULL;
 }
 



Mime
View raw message