summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-10-29 13:38:52 -0600
committerEric Blake <ebb9@byu.net>2009-10-29 18:39:36 -0600
commitce2d0d6e770dbf138ed4fb7649b593412b22122a (patch)
tree4eb469b7910d1d1d4d24ce5a3c50b6d6c62d47fe /ChangeLog
parent90cff1db2d712f9be51a68bae04fec75e7c23b8a (diff)
downloadgnulib-ce2d0d6e770dbf138ed4fb7649b593412b22122a.tar.gz
argp: avoid memory leak
argp has been leaking memory since commit 79c0a43, in Jul 2006. * modules/argp (Depends-on): Use dirname-lgpl, not dirname. * lib/argp-namefrob.h (__argp_base_name): Use last_component, not base_name, since the latter malloc()s and can call exit(). Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 73d4a061e7..47c75be4c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-10-29 Eric Blake <ebb9@byu.net>
+ argp: avoid memory leak
+ * modules/argp (Depends-on): Use dirname-lgpl, not dirname.
+ * lib/argp-namefrob.h (__argp_base_name): Use last_component, not
+ base_name, since the latter malloc()s and can call exit().
+ Leak introduced 2006-07-03.
+
dirname-lgpl: adjust clients that don't need full dirname
* modules/backupfile (Depends-on): Use dirname-lgpl, not dirname.
* modules/filenamecat (Depends-on): Likewise.