diff options
author | Nikias Bassen | 2018-01-03 02:42:25 +0100 |
---|---|---|
committer | Nikias Bassen | 2018-01-03 02:42:25 +0100 |
commit | f78fc4a11b81bcb2aacf93a2060f15fa2f99b66a (patch) | |
tree | 0b5bddb32069dbcad0a6a52715220c7e12c569b9 /tools | |
parent | f06b60e5c1f0ea3ebfdf5684cb884be5c49acee7 (diff) | |
download | libirecovery-f78fc4a11b81bcb2aacf93a2060f15fa2f99b66a.tar.gz libirecovery-f78fc4a11b81bcb2aacf93a2060f15fa2f99b66a.tar.bz2 |
Remove some unnecessary null pointer checks
Diffstat (limited to 'tools')
-rw-r--r-- | tools/irecovery.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c index 0db60e4..f250dc5 100644 --- a/tools/irecovery.c +++ b/tools/irecovery.c @@ -299,8 +299,7 @@ int postcommand_cb(irecv_client_t client, const irecv_event_t* event) { } } - if (command) - free(command); + free(command); return 0; } |