From: Enrico Scholz Date: Fri, 18 Mar 2005 00:20:17 +0000 (+0000) Subject: obsoleted; String_free() is now inlined X-Git-Tag: IPSENTINEL_VERSION_0_12~81 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8c87138af9755c6125ae79bb4c1890e6a33dc1a2;p=util-vserver.git obsoleted; String_free() is now inlined git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1913 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib_internal/string-destroy.c b/util-vserver/lib_internal/string-destroy.c deleted file mode 100644 index 517056f..0000000 --- a/util-vserver/lib_internal/string-destroy.c +++ /dev/null @@ -1,29 +0,0 @@ -// $Id$ --*- c -*-- - -// Copyright (C) 2004 Enrico Scholz -// -// 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 -// the Free Software Foundation; version 2 of the License. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - -#ifdef HAVE_CONFIG_H -# include -#endif - -#include "string.h" - -void -String_destroy(String *str) -{ - free((char *)(str->d)); -}