Fixed plugins not being unloadable from files not being closed (amb 1875).
authorDavid Anderson <dvander@alliedmods.net>
Thu Aug 28 16:59:41 2008 +0000 (2008-08-28)
changeset 2242cb53a313c38e
parent 2241 f61a9b513add
child 2243 b9cb189640a0
Fixed plugins not being unloadable from files not being closed (amb 1875).
sourcepawn/jit/engine2.cpp
     1.1 --- a/sourcepawn/jit/engine2.cpp	Wed Aug 27 01:45:10 2008 +0000
     1.2 +++ b/sourcepawn/jit/engine2.cpp	Thu Aug 28 16:59:41 2008 +0000
     1.3 @@ -119,10 +119,13 @@
     1.4  
     1.5  	pRuntime->ApplyCompilationOptions(co);
     1.6  
     1.7 +    fclose(fp);
     1.8 +
     1.9  	return pRuntime;
    1.10  
    1.11  return_error:
    1.12  	*err = error;
    1.13 +    fclose(fp);
    1.14  
    1.15  	return NULL;
    1.16  }