figured out why I could not release the string, I give to libvlc_media_new_path. The documentations says, it shall NOT be freed. That caused the error.