diff options
Diffstat (limited to 'src/helper/ioutil.c')
-rw-r--r-- | src/helper/ioutil.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/helper/ioutil.c b/src/helper/ioutil.c index c103ce1..ffdeca8 100644 --- a/src/helper/ioutil.c +++ b/src/helper/ioutil.c @@ -230,8 +230,7 @@ COMMAND_HANDLER(handle_cp_command) else command_print(CMD, "copy failed"); - if (data != NULL) - free(data); + free(data); if (f != NULL) fclose(f); |