bugfix: create_loc_conf did not return NULL on error. thanks Markus Linnala for the patch in #35.