diff options
| author | 2011-05-27 19:36:47 +0200 | |
|---|---|---|
| committer | 2011-05-27 19:36:47 +0200 | |
| commit | 565b5901d666de3bfe538be27aebb9f443de98f0 (patch) | |
| tree | bad898ee9b2b8d4808625e995fbdb6a5ca78577d /src/notification_proxy.c | |
| parent | 5c10f12e408b11afbd7c3cc93ddf7d85f1527417 (diff) | |
| download | libimobiledevice-565b5901d666de3bfe538be27aebb9f443de98f0.tar.gz libimobiledevice-565b5901d666de3bfe538be27aebb9f443de98f0.tar.bz2 | |
notification_proxy: use free() instead of g_free()
Diffstat (limited to 'src/notification_proxy.c')
| -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) | |||
| 194 | } else { | 194 | } else { |
| 195 | debug_plist(dict); | 195 | debug_plist(dict); |
| 196 | } | 196 | } |
| 197 | g_free(cmd_value); | 197 | if (cmd_value) { |
| 198 | free(cmd_value); | ||
| 199 | } | ||
| 198 | #endif | 200 | #endif |
| 199 | plist_free(dict); | 201 | plist_free(dict); |
| 200 | } | 202 | } |
