fix dangerous (i.e. leaky) braino

Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>