diff options
-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; } |