Commit add8b246 authored by Jack Jansen's avatar Jack Jansen

Release a PYC resource after reading it. No need to keep it incore.

parent 316a0109
......@@ -380,6 +380,8 @@ packageerror:
HUnlock(h);
if ( filerh != -1 )
CloseResFile(filerh);
else
ReleaseResource(h);
UseResFile(oldrh);
if ( co ) {
m = PyImport_ExecCodeModuleEx(module, co, "<pyc resource>");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment