LP#1974193: fix memory leak in C apps