From 28e1a4492258c9118b4052d7f53c0c676e9eb7e3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 8 Apr 2021 11:45:18 +0100 Subject: Remove conflicting patch This reintroduces some memory leaks, but it prevents build at the moment, I should sort it one day --- dev-cpp/libmcpp/0001-Fix-memory-leaks.patch | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 dev-cpp/libmcpp/0001-Fix-memory-leaks.patch (limited to 'dev-cpp') diff --git a/dev-cpp/libmcpp/0001-Fix-memory-leaks.patch b/dev-cpp/libmcpp/0001-Fix-memory-leaks.patch deleted file mode 100644 index bb1be6b..0000000 --- a/dev-cpp/libmcpp/0001-Fix-memory-leaks.patch +++ /dev/null @@ -1,28 +0,0 @@ -From dffd7e8425064b22e6679070d216c108aef88304 Mon Sep 17 00:00:00 2001 -From: Dan Goodliffe -Date: Mon, 14 Dec 2020 11:26:14 +0000 -Subject: [PATCH 1/2] Fix memory leaks - ---- - src/main.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/main.c b/src/main.c -index f9ede32..279cbbe 100644 ---- a/src/main.c -+++ b/src/main.c -@@ -428,8 +428,11 @@ int main - - fatal_error_exit: - #if MCPP_LIB -+ if (in_file != stdin_name) -+ free( in_file); - clear_filelist(); - clear_symtable(); -+ init_system(); - #endif - - if (fp_in && fp_in != stdin) --- -2.29.2 - -- cgit v1.2.3