pnoltes commented on a change in pull request #181: Updated ZMQ implementation
to use NULL if scope is not set. Only when…
URL: https://github.com/apache/celix/pull/181#discussion_r401407931
##########
File path:
bundles/pubsub/pubsub_admin_websocket/src/pubsub_websocket_topic_sender.c
##########
@@ -189,7 +191,9 @@ void
pubsub_websocketTopicSender_destroy(pubsub_websocket_topic_sender_t *sender
celix_bundleContext_unregisterService(sender->ctx,
sender->websockSvcId);
- free(sender->scope);
+ if (sender->scope != NULL) {
Review comment:
if not needed
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services