Fixes a memory leak in the pubsub_utils
@@ -68,6 +68,7 @@ celix_status_t pubsub_getPubSubInfoFromFilter(const char* filterstr, const char
}
}
}
+ filter_destroy(filter);
if (topic != NULL && objectClass != NULL && strncmp(objectClass, PUBSUB_PUBLISHER_SERVICE_NAME, 128) == 0) {
*topicOut = topic;
