[Midnightbsd-cvs] src [12079] trunk/lib/libmport/index.c: remove free call
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Sep 28 09:00:10 EDT 2018
Revision: 12079
http://svnweb.midnightbsd.org/src/?rev=12079
Author: laffer1
Date: 2018-09-28 09:00:09 -0400 (Fri, 28 Sep 2018)
Log Message:
-----------
remove free call
Modified Paths:
--------------
trunk/lib/libmport/index.c
Modified: trunk/lib/libmport/index.c
===================================================================
--- trunk/lib/libmport/index.c 2018-09-28 12:37:40 UTC (rev 12078)
+++ trunk/lib/libmport/index.c 2018-09-28 13:00:09 UTC (rev 12079)
@@ -522,8 +522,6 @@
for (int i = 0; e[i] != NULL; i++)
mport_index_entry_free(e[i]);
-
- free(e);
}
@@ -531,7 +529,6 @@
MPORT_PUBLIC_API void
mport_index_entry_free(mportIndexEntry *e)
{
-
if (e == NULL)
return;
More information about the Midnightbsd-cvs
mailing list