This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
question about memory allocate and free
- From: ligang at sunnorth dot com dot cn
- To: binutils at sourceware dot org
- Date: Mon, 6 Mar 2006 14:16:53 +0800
- Subject: question about memory allocate and free
hi,
1. In Binutils source, the memory allcating functions are xmalloc() and
obstack_begin().
but, a lot of allocated memory are not set free by free() or
obstack_free(). why? Dose it result
in memory leak?
2. In added files for porting Binutils, need i release allocated memeoy and
which
function should i use?
Best regards
Ligang