diff --git a/js/jsd/jsd_scpt.c b/js/jsd/jsd_scpt.c index 0a9de46204d..8e9a8fb9788 100644 --- a/js/jsd/jsd_scpt.c +++ b/js/jsd/jsd_scpt.c @@ -166,8 +166,7 @@ _destroyJSDScript(JSDContext* jsdc, if (jsdscript->profileData) free(jsdscript->profileData); - if(jsdscript) - free(jsdscript); + free(jsdscript); } /***************************************************************************/