svn commit: r330469 - stable/11/sbin/ifconfig
Eitan Adler
eadler at FreeBSD.org
Mon Mar 5 08:33:30 UTC 2018
Author: eadler
Date: Mon Mar 5 08:33:29 2018
New Revision: 330469
URL: https://svnweb.freebsd.org/changeset/base/330469
Log:
MFC r313979:
[ifconfig] fix a memory leak!
Modified:
stable/11/sbin/ifconfig/ifbridge.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sbin/ifconfig/ifbridge.c
==============================================================================
--- stable/11/sbin/ifconfig/ifbridge.c Mon Mar 5 08:32:54 2018 (r330468)
+++ stable/11/sbin/ifconfig/ifbridge.c Mon Mar 5 08:33:29 2018 (r330469)
@@ -207,7 +207,7 @@ bridge_interfaces(int s, const char *prefix)
}
printf("\n");
}
-
+ free(pad);
free(inbuf);
}
More information about the svn-src-stable-11
mailing list