* ada-lang.c (packed_array_type): Rename to...
[deliverable/binutils-gdb.git] / gdb / environ.c
index 5bc9140e3f160107c0b37c58d9e0097cca2faf02..657961ffb865d3f8bed80258fca44675e7b89901 100644 (file)
@@ -1,7 +1,7 @@
 /* environ.c -- library for manipulating environments for GNU.
 
    Copyright (C) 1986, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 2000, 2005
-   2003, 2007 Free Software Foundation, Inc.
+   2003, 2007, 2008, 2009 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -49,6 +49,7 @@ free_environ (struct gdb_environ *e)
   while (*vector)
     xfree (*vector++);
 
+  xfree (e->vector);
   xfree (e);
 }
 
This page took 0.02431 seconds and 4 git commands to generate.