Skip to content
Snippets Groups Projects
Commit b88914ac authored by rswindell's avatar rswindell
Browse files

Deuce: You'll want to free() that.

parent 7226c373
No related branches found
No related tags found
No related merge requests found
...@@ -1693,6 +1693,7 @@ js_login(JSContext *cx, uintN argc, jsval *arglist) ...@@ -1693,6 +1693,7 @@ js_login(JSContext *cx, uintN argc, jsval *arglist)
rc=JS_SUSPENDREQUEST(cx); rc=JS_SUSPENDREQUEST(cx);
JS_SET_RVAL(cx, arglist, BOOLEAN_TO_JSVAL(sbbs->login(name,pw)==LOGIC_TRUE ? JS_TRUE:JS_FALSE)); JS_SET_RVAL(cx, arglist, BOOLEAN_TO_JSVAL(sbbs->login(name,pw)==LOGIC_TRUE ? JS_TRUE:JS_FALSE));
JS_RESUMEREQUEST(cx, rc); JS_RESUMEREQUEST(cx, rc);
free(pw);
return(JS_TRUE); return(JS_TRUE);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment