summaryrefslogtreecommitdiff
path: root/src/remove.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-03-21 22:19:09 +0000
committerJim Meyering <jim@meyering.net>2004-03-21 22:19:09 +0000
commit51be5c4245aefa5a1cac7cb88b05b06b57cde4bd (patch)
tree66971308e7ab1b945fd0a4a0cae9d2871826e641 /src/remove.c
parent82efb0955eaa6e47d57c6af4788c9377b78edf24 (diff)
downloadcoreutils-51be5c4245aefa5a1cac7cb88b05b06b57cde4bd.tar.xz
(ds_free): Plug a small leak.
Diffstat (limited to 'src/remove.c')
-rw-r--r--src/remove.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c
index 06071677a..b1624f31f 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -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