diff options
author | Tom Tromey <tromey@redhat.com> | 2008-12-22 14:06:27 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2008-12-22 14:06:27 +0000 |
commit | 9a61c7a6d7efba6be879313c546887243f50d8ae (patch) | |
tree | 73fcb8b9ff70ced02ec4ef8ba837d96f32af016b /gdb/environ.c | |
parent | 6f4de6c97dfed92a46f3cd2d7d841b79da58ac81 (diff) | |
download | gdb-9a61c7a6d7efba6be879313c546887243f50d8ae.zip gdb-9a61c7a6d7efba6be879313c546887243f50d8ae.tar.gz gdb-9a61c7a6d7efba6be879313c546887243f50d8ae.tar.bz2 |
2008-12-22 Adam Denton <adenton@yahoo.com>
PR gdb/8307:
* environ.c (free_environ): Free e->vector.
Diffstat (limited to 'gdb/environ.c')
-rw-r--r-- | gdb/environ.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/environ.c b/gdb/environ.c index ee471ad..cd40193 100644 --- a/gdb/environ.c +++ b/gdb/environ.c @@ -49,6 +49,7 @@ free_environ (struct gdb_environ *e) while (*vector) xfree (*vector++); + xfree (e->vector); xfree (e); } |