diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/notification_proxy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/notification_proxy.c b/src/notification_proxy.c index 80a82c4..a883cfa 100644 --- a/src/notification_proxy.c +++ b/src/notification_proxy.c @@ -194,7 +194,9 @@ np_error_t np_post_notification(np_client_t client, const char *notification) } else { debug_plist(dict); } - g_free(cmd_value); + if (cmd_value) { + free(cmd_value); + } #endif plist_free(dict); } |