diff options
author | Nikias Bassen | 2011-05-27 19:36:47 +0200 |
---|---|---|
committer | Nikias Bassen | 2011-05-27 19:36:47 +0200 |
commit | 565b5901d666de3bfe538be27aebb9f443de98f0 (patch) | |
tree | bad898ee9b2b8d4808625e995fbdb6a5ca78577d /src | |
parent | 5c10f12e408b11afbd7c3cc93ddf7d85f1527417 (diff) | |
download | libimobiledevice-565b5901d666de3bfe538be27aebb9f443de98f0.tar.gz libimobiledevice-565b5901d666de3bfe538be27aebb9f443de98f0.tar.bz2 |
notification_proxy: use free() instead of g_free()
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); } |