Evas filters: Fix invalid sizeof

CID 1308609
This commit is contained in:
Jean-Philippe Andre 2015-07-31 12:05:44 +09:00
parent 99af748e4b
commit 81f1f5db17
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ _lua_buffer_push(lua_State *L, Buffer *buf)
Buffer **ptr;
lua_getglobal(L, buf->name);//+1
ptr = lua_newuserdata(L, sizeof(Buffer **));//+1
ptr = lua_newuserdata(L, sizeof(Buffer *));//+1
*ptr = buf;
luaL_getmetatable(L, _lua_buffer_meta);//+1
lua_setmetatable(L, -2);//-1