Summary: script_fcdb_init() calls luascript_destroy(NULL)
Submitted by: cazfi
Submitted on: Mon 30 Jul 2012 07:23:44 PM EEST
Severity: 3 - Normal
Priority: 5 - Normal
Assigned to: None
Discussion Lock: Any
Operating System: None
I don't know if this harmful or not, but certainly looks suspicious.
script_fcdb.c:196 checks that fcl certainly is NULL, and then calls
Also, there's shadowing of module wide static variable fcl in some of the
functions in this file. Shadowing should be avoided (I remember that we used
to get compiler warning about it, wondering why it's not accepted)
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list