Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2018 08:33:30 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r330469 - stable/11/sbin/ifconfig
Message-ID:  <201803050833.w258XUg4022840@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803050833.w258XUg4022840>