diff options
author | Eric Blake <ebb9@byu.net> | 2009-10-29 13:38:52 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2009-10-29 18:39:36 -0600 |
commit | ce2d0d6e770dbf138ed4fb7649b593412b22122a (patch) | |
tree | 4eb469b7910d1d1d4d24ce5a3c50b6d6c62d47fe /ChangeLog | |
parent | 90cff1db2d712f9be51a68bae04fec75e7c23b8a (diff) | |
download | gnulib-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-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |