talloc, malloc and memory leaks
alexander.chemeris at gmail.com
Wed Jul 25 07:17:03 UTC 2012
On Tue, Jul 24, 2012 at 11:51 PM, Holger Hans Peter Freyther
<hfreyther at sysmocom.de> wrote:
> Should we use a GCC extension that
> helps dealing with local variables? GCC can call a cleanup function
> on exit of the scope, an example can be seen here nad this is
> the description of the feature.
Oh, this looks like "hack your C to be C++", isn't it better to just
use C++ then? It has a very clean semantics for this which is
supported by _all_ compilers.
CEO, Fairwaves LLC / ООО УмРадио
More information about the osmocom-net-gprs