Alexandre Julliard : winedump: Get rid of a useless destructor.

Alexandre Julliard julliard at winehq.org
Thu Apr 9 16:04:46 CDT 2020


Module: wine
Branch: master
Commit: 3d77dd10580207b78d426e01788e9303ffa108b2
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3d77dd10580207b78d426e01788e9303ffa108b2

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Apr  9 21:03:53 2020 +0200

winedump: Get rid of a useless destructor.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/winedump/search.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/tools/winedump/search.c b/tools/winedump/search.c
index 49f83ca70f..716d2feb6f 100644
--- a/tools/winedump/search.c
+++ b/tools/winedump/search.c
@@ -337,18 +337,3 @@ static const char *get_type (parsed_symbol *sym, const char *proto, int arg)
   }
   return proto_str;
 }
-
-
-#ifdef __GNUC__
-/*******************************************************************
- *         search_cleanup
- *
- * Free memory used while searching (a niceity)
- */
-void search_cleanup (void) __attribute__ ((destructor));
-void search_cleanup (void)
-{
-  free (grep_buff);
-  free (fgrep_buff);
-}
-#endif




More information about the wine-cvs mailing list