Changes in zcrypt.c [1dd285b:5b197f7]
Legend:
- Unmodified
- Added
- Removed
-
zcrypt.c
r1dd285b r5b197f7 11 11 #include <unistd.h> 12 12 #include <sys/types.h> 13 #include <zephyr/zephyr.h>14 13 #include <glib.h> 15 14 #include <string.h> … … 476 475 477 476 for(i = 0; i < MAX_SEARCH; i++) { 478 if(varname[i] != NULL) { 479 g_free(varname[i]); 480 } 481 } 482 483 if(filename != NULL) { 484 g_free(filename); 485 } 477 g_free(varname[i]); 478 } 479 480 g_free(filename); 486 481 487 482 return keyfile; … … 773 768 err = call_filter("gpg", argv, in, &out, &status); 774 769 if(err || status) { 775 if(out)g_free(out);770 g_free(out); 776 771 return FALSE; 777 772 } … … 856 851 err = call_filter("gpg", argv, in, &out, &status); 857 852 if(err || status) { 858 if(out)g_free(out);853 g_free(out); 859 854 return FALSE; 860 855 }
Note: See TracChangeset
for help on using the changeset viewer.