02.10.2011, 05:25
Firstly, you're freeing a result that you haven't stored in the first place. Secondly, you're probably starting debug when the script is already debugging. Make sure that you only have mysql_debug(1) once in your script on OnGameModeInit / OnFilterScriptInit.