Browse files

Fix a memory leak in zcrypt.c, caught by clang scan-build

  • Loading branch information...
1 parent 8258ea5 commit d72ba1e6f5395eb40aefdd154fa6db8e3a0b5d3c @JasonGross JasonGross committed Jan 12, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 zcrypt.c
View
1 zcrypt.c
@@ -865,6 +865,7 @@ int do_decrypt_aes(const char *keyfile) {
if(!in) return FALSE;
err = call_filter(argv, in, &out, &status);
+ free(in);
if(err || status) {
g_free(out);
return FALSE;

0 comments on commit d72ba1e

Please sign in to comment.