AcessNative - Compile fixes after elf linking changes
[tpg/acess2.git] / KernelLand / Kernel / binary.c
index 92baa73..a15db0b 100644 (file)
@@ -197,6 +197,7 @@ int Proc_SysSpawn(const char *Binary, const char **ArgV, const char **EnvP, int
        if( ret < 0 )
        {
                VFS_FreeSavedHandles(nFD, handles);
+               free(cachebuf);
        }
        
        return ret;

UCC git Repository :: git.ucc.asn.au