incubator-celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject svn commit: r1524045 - /incubator/celix/trunk/framework/private/src/service_registry.c
Date Tue, 17 Sep 2013 14:04:21 GMT
Author: pnoltes
Date: Tue Sep 17 14:04:21 2013
New Revision: 1524045

URL: http://svn.apache.org/r1524045
Log:
CELIX-83: fixed bad access issue, due to not initialized memory pool

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

Modified: incubator/celix/trunk/framework/private/src/service_registry.c
URL: http://svn.apache.org/viewvc/incubator/celix/trunk/framework/private/src/service_registry.c?rev=1524045&r1=1524044&r2=1524045&view=diff
==============================================================================
--- incubator/celix/trunk/framework/private/src/service_registry.c (original)
+++ incubator/celix/trunk/framework/private/src/service_registry.c Tue Sep 17 14:04:21 2013
@@ -138,6 +138,7 @@ celix_status_t serviceRegistry_create(ap
 
 		apr_pool_pre_cleanup_register(pool, *registry, serviceRegistry_destroy);
 
+		(*registry)->pool=pool;
 		(*registry)->serviceChanged = serviceChanged;
 		(*registry)->inUseMap = hashMap_create(NULL, NULL, NULL, NULL);
 		(*registry)->serviceRegistrations = hashMap_create(NULL, NULL, NULL, NULL);



Mime
View raw message