diff options
author | Tim King <taking@google.com> | 2016-11-10 15:56:19 -0800 |
---|---|---|
committer | Tim King <taking@google.com> | 2016-11-10 15:56:19 -0800 |
commit | 4ee85fbbe8f1bbc6261b804916f897b26d500fbf (patch) | |
tree | 2303ae6055eec50cd4b2a856a93ac9c818c5dccd /test/unit/parser | |
parent | 13be3be39454a3cf7b05c4399a53bd2dd27996f6 (diff) |
Fixing a delete vs free mismatch in parser_builder_black.h.
Diffstat (limited to 'test/unit/parser')
-rw-r--r-- | test/unit/parser/parser_builder_black.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/parser/parser_builder_black.h b/test/unit/parser/parser_builder_black.h index 61c426be9..f65dadf1b 100644 --- a/test/unit/parser/parser_builder_black.h +++ b/test/unit/parser/parser_builder_black.h @@ -99,7 +99,7 @@ public: remove(filename); // mkfifo(ptr, S_IWUSR | s_IRUSR); - delete filename; + free(filename); } void testSimpleFileInput() { @@ -115,7 +115,7 @@ public: ); remove(filename); - delete filename; + free(filename); } void testEmptyStringInput() { |