diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-12 11:25:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-12 13:09:03 +0100 |
commit | 5a0d01ee8385dc5d73e921a9fe3d561430867aa2 (patch) | |
tree | 26148da7c41304e98e33a5c5c22c6c3158849841 | |
parent | b1404ef4e54b06364977065451f3c1564d939534 (diff) |
CID#441298 use after free
Change-Id: I4fd16f157244fa3406036d0f506c32bed0cf5b8a
-rw-r--r-- | rsc/source/rscpp/cpp6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rsc/source/rscpp/cpp6.c b/rsc/source/rscpp/cpp6.c index 2e3be99c0673..59708ef87d34 100644 --- a/rsc/source/rscpp/cpp6.c +++ b/rsc/source/rscpp/cpp6.c @@ -626,6 +626,7 @@ defendel(char* name, int delete) if (dp->repl != NULL) /* Free the replacement */ free(dp->repl); /* if any, and then */ free((char *) dp); /* Free the symbol */ + dp = NULL; } break; } |