32 bytes leak on each call wax_pcall(L,argcount,1)

79 views
Skip to first unread message

Sivansethu G

unread,
Jul 15, 2013, 2:38:42 AM7/15/13
to ipho...@googlegroups.com
Hi ,

In instruments   I can see 32 bytes leakage on each wax_pcall(). How to resolve this?

this the code
    lua_getglobal(L, [functionname UTF8String]);
    if (lua_isnil(L, -1)) {
        lua_pop(L, 1); // Get ride of nil
    }
     lua_getglobal(L, [function UTF8String]);
    if (lua_isnil(L, -1)) {
        lua_pop(L, 1); // Get ride of nil
    }
    if(wax_pcall(L,0,1))
        fprintf(stderr,"Error callFunction: %s %s\n", [function UTF8String], lua_tostring(L,-1));


Regards
Sethu

yuan.ping chen

unread,
Sep 5, 2013, 5:45:57 PM9/5/13
to ipho...@googlegroups.com
I wish someone take over the control of wax project,It seems nobody maintain the source code, so If you fixed some bug, it can be merge into the trunk

在 2013年7月15日星期一UTC+8下午2时38分42秒,Sivansethu G写道:
Reply all
Reply to author
Forward
0 new messages