mod_netconf: BUGFIX free unallocated memory
buffer was repeatedly freed without test for NULL
diff --git a/src/notification-server.c b/src/notification-server.c
index 364baec..1f2f7f2 100644
--- a/src/notification-server.c
+++ b/src/notification-server.c
@@ -710,7 +710,7 @@
json_object_object_add(notif_json, "eventtime", json_object_new_string(t));
json_object_object_add(notif_json, "content", json_object_new_string(notif->content));
- char *msgtext = json_object_to_json_string(notif_json);
+ const char *msgtext = json_object_to_json_string(notif_json);
n = sprintf((char *)p, "%s", msgtext);
m = libwebsocket_write(wsi, p, n, LWS_WRITE_TEXT);