bml: init var to NULL to avoid calling free() on garbage