Bugs item #2881620, was opened at 2009-10-19 04:33
Message generated for change (Settings changed) made by maynardj
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=116191&aid=2881620&group_id=16191Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: dcb (dcb314)
>Assigned to: Maynard Johnson (maynardj)
Summary: bfd_spu_support.cpp: memory leak
Initial Comment:
For source code file oprofile-0.9.5/libutil++/bfd_spu_support.cpp
function spu_open_bfd
I notice the following code
spu_elf * spu_elf_stream = (spu_elf *)malloc(sizeof(spu_elf));
but I fail to notice any matching call to free. This looks
like a memory leak to me. Suggest add call to free near the
end of the routine.
----------------------------------------------------------------------
>Comment By: Maynard Johnson (maynardj)
Date: 2009-10-19 09:16
Message:
The stream is freed in spu_bfd_iovec_close(). Closing this bugzilla as
"Invalid".
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=116191&aid=2881620&group_id=16191------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
oprofile-list mailing list
oprofile-list@...
https://lists.sourceforge.net/lists/listinfo/oprofile-list