diff options
author | William Douglas <william.douglas@intel.com> | 2012-05-21 10:57:37 -0700 |
---|---|---|
committer | William Douglas <william.douglas@intel.com> | 2012-05-21 10:57:37 -0700 |
commit | 94266e0788ed03467e3936c4302cac87df7e0b75 (patch) | |
tree | f9f708f8ae7721459731574e26f892477a2c09eb | |
parent | a2a7c0158e3847476b6dc44cda557f4e9eba3457 (diff) | |
download | corewatcher-94266e0788ed03467e3936c4302cac87df7e0b75.tar.gz corewatcher-94266e0788ed03467e3936c4302cac87df7e0b75.tar.bz2 corewatcher-94266e0788ed03467e3936c4302cac87df7e0b75.zip |
Fix double free possibility
Signed-off-by: William Douglas <william.douglas@intel.com>
-rw-r--r-- | src/coredump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coredump.c b/src/coredump.c index 1cdb044..72262a4 100644 --- a/src/coredump.c +++ b/src/coredump.c @@ -347,6 +347,7 @@ static void build_times(char *cmd, GHashTable *ht_p2p, GHashTable *ht_p2d) free(rl); free(pack); free(date); + date = NULL; } pclose(file); free(dline); |