helper: fix a few alloc bugs.
helper: fix a few alloc bugs.

mkrautz/sbcelt,mumble-voip/sbcelt,mkrautz/sbcelt,SuperTux88/sbcelt,mumble-voip/sbcelt,mkrautz/sbcelt,mumble-voip/sbcelt,mkrautz/sbcelt,SuperTux88/sbcelt,mumble-voip/sbcelt,SuperTux88/sbcelt,SuperTux88/sbcelt