From 51be5c4245aefa5a1cac7cb88b05b06b57cde4bd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 21 Mar 2004 22:19:09 +0000 Subject: [PATCH] (ds_free): Plug a small leak. --- src/remove.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/remove.c b/src/remove.c index 06071677af..b1624f31fa 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 -- 2.47.2