if map_library has allocated a buffer for phdrs, free it on success too

this fixes an oversight in the previous commit.
1 file changed