From: Jim Meyering Date: Sun, 21 Mar 2004 22:19:09 +0000 (+0000) Subject: (ds_free): Plug a small leak. X-Git-Tag: v5.3.0~1990 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51be5c4245aefa5a1cac7cb88b05b06b57cde4bd;p=thirdparty%2Fcoreutils.git (ds_free): Plug a small leak. --- 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