From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarod Wilson Subject: Re: [PATCH perftest] Fix assorted memory leaks on error paths Date: Mon, 23 May 2016 19:01:46 -0400 Message-ID: <20160523230146.GI60083@redhat.com> References: <1463593448-30864-1-git-send-email-jarod@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Gil Rockah Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" List-Id: linux-rdma@vger.kernel.org On Sun, May 22, 2016 at 07:25:58AM +0000, Gil Rockah wrote: > Thanks Jarod. > Same patch is also needed for src/send_bw.c ? Quite possible. I'm not quite sure how our internal automated system work, but after fixing this one, it stopped complaining to me, so I assumed I'd gotten all of them. There could well be more that we're simply not encountering due to .. I have no idea what. :p > -----Original Message----- > From: Jarod Wilson [mailto:jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org] > Sent: Wednesday, May 18, 2016 8:44 PM > To: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org > Cc: Jarod Wilson ; Gil Rockah > Subject: [PATCH perftest] Fix assorted memory leaks on error paths > > Clang noticed that we might leak mcg_params.ib_devname in failure paths. > There are additional leaks after fixing this initial one that it still reported, here's hoping I've got them all now... -- Jarod Wilson jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html