]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(ds_free): Plug a small leak.
authorJim Meyering <jim@meyering.net>
Sun, 21 Mar 2004 22:19:09 +0000 (22:19 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 21 Mar 2004 22:19:09 +0000 (22:19 +0000)
src/remove.c

index 06071677af9db7fbb50b31287688d2cd2ab89929..b1624f31fa5c29d10211865dc4f6caba2cadd768 100644 (file)
@@ -1,5 +1,5 @@
 /* remove.c -- core functions for removing files and directories
-   Copyright (C) 88, 90, 91, 1994-2003 Free Software Foundation, Inc.
+   Copyright (C) 88, 90, 91, 1994-2004 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
@@ -162,6 +162,7 @@ ds_free (Dirstack_state *ds)
   obstack_free (&ds->dir_stack, NULL);
   obstack_free (&ds->len_stack, NULL);
   obstack_free (&ds->Active_dir, NULL);
+  free (ds);
 }
 
 static void