From: Jim Meyering Date: Sat, 9 Dec 2000 20:54:23 +0000 (+0000) Subject: (chopt_free): don't free anything X-Git-Tag: TEXTUTILS-2_0_10~14 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=8f55fdc3855fc3cdbc27717366bd374833216dca;p=thirdparty%2Fcoreutils.git (chopt_free): don't free anything --- diff --git a/src/chown-core.c b/src/chown-core.c index 265275ac04..2899f587b5 100644 --- a/src/chown-core.c +++ b/src/chown-core.c @@ -50,8 +50,8 @@ chopt_init (struct Chown_option *chopt) void chopt_free (struct Chown_option *chopt) { - XFREE (chopt->user_name); - XFREE (chopt->group_name); + /* Deliberately do not free chopt->user_name or ->group_name. + They're not always allocated. */ } /* FIXME: describe */