[mw-devel] [Git][arthur/mw][master] Don't free an _autofree var in scr_roomnum
Andrew Price
welshbyte at sucs.org
Tue Jan 12 09:20:45 GMT 2016
Andrew Price pushed to branch master at Justin Mitchell / mw
Commits:
c59917a3 by Andrew Price at 2016-01-12T09:17:08Z
Don't free an _autofree var in scr_roomnum
Introduced in commit b5193749. Fixes #7.
- - - - -
1 changed file:
- src/client/script_inst.c
Changes:
=====================================
src/client/script_inst.c
=====================================
--- a/src/client/script_inst.c
+++ b/src/client/script_inst.c
@@ -428,7 +428,6 @@ void scr_roomnum( struct code *pc, int fargc, char **fargv )
}
var_str_force_2(what, rn);
- free(what);
}
void scr_talkpriv( struct code *pc, int fargc, char **fargv )
View it on GitLab: https://projects.sucs.org/arthur/mw/commit/c59917a3885d883cba0d279776fb40209956f181
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20160112/e13ec470/attachment.html>
More information about the mw-devel
mailing list