[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
small memleak
From: |
Ralf Wildenhues |
Subject: |
small memleak |
Date: |
Thu, 22 Jun 2006 08:42:47 +0200 |
User-agent: |
Mutt/1.5.11 |
Some of the leftover memory is due to libltdl not easily being able to
remove all its resources. This patch, however, is another tiny bit that
M4 can do to help. :)
Cheers,
Ralf
* m4/module.c (m4__module_exit): Fix small memleak.
Index: m4/module.c
===================================================================
RCS file: /cvsroot/m4/m4/m4/module.c,v
retrieving revision 1.35
diff -u -r1.35 module.c
--- m4/module.c 27 Oct 2005 16:04:03 -0000 1.35
+++ m4/module.c 22 Jun 2006 06:41:59 -0000
@@ -452,6 +452,8 @@
errors = module_remove (context, pending, 0);
}
+ lt_dlinterface_free (iface_id);
+
if (!errors)
errors = lt_dlexit();
- small memleak,
Ralf Wildenhues <=