mirror of
https://github.com/mpv-player/mpv
synced 2025-01-24 08:33:34 +00:00
parent
9850932722
commit
a4cdd8bb82
@ -1079,6 +1079,7 @@ static int script_readdir(lua_State *L)
|
|||||||
lua_pushstring(L, name); // list index name
|
lua_pushstring(L, name); // list index name
|
||||||
lua_settable(L, -3); // list
|
lua_settable(L, -3); // list
|
||||||
}
|
}
|
||||||
|
closedir(dir);
|
||||||
talloc_free(fullpath);
|
talloc_free(fullpath);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user