On Thursday, 4. December 2014 14:18:52 you wrote: > > One more small memory leak reported by cppcheck: > > [src/medsrv/controller/user_controller.c:247]: (error) Memory leak: > > old_login > Hm, old_login is copied using strdupa(3), that is, the memory is > allocated on the stack (using alloca(3)). Seems like a false positive > to me.
right, I missed that it's strdupa() instead of strdup(). I'll report this to the cppcheck team or commit a patch directly, thanks for checking. Thomas _______________________________________________ Dev mailing list [email protected] https://lists.strongswan.org/mailman/listinfo/dev
