undo strdup change. free happens elsewhere, not by the caller of get_prop()