bugfix: create_loc_conf did not return NULL on error.