Date: Mon, 26 Mar 2018 23:20:38 +0000 (UTC) From: Conrad Meyer <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r331600 - head/cddl/contrib/opensolaris/tools/ctf/cvt Message-ID: <201803262320.w2QNKc2R003774@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cem Date: Mon Mar 26 23:20:37 2018 New Revision: 331600 URL: https://svnweb.freebsd.org/changeset/base/331600 Log: ctfconvert/ctfmerge: Fix a memory leak enumerating DWARF files Reported by: Coverity Sponsored by: Dell EMC Isilon Modified: head/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c Modified: head/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c ============================================================================== --- head/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c Mon Mar 26 22:39:48 2018 (r331599) +++ head/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c Mon Mar 26 23:20:37 2018 (r331600) @@ -1613,6 +1613,7 @@ die_function_create(dwarf_t *dw, Dwarf_Die die, Dwarf_ ii->ii_vargs = 1; continue; } + free(name1); ii->ii_nargs++; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803262320.w2QNKc2R003774>