Fix small strdup memory leak in case of need_fullpath and extraction

I used strdrup in my need_fullpath extraction path and didn't clean up properly.

I use a stringlist for additional allocs now and free it immediately after using.