mirror of https://github.com/bjornbytes/lovr.git
Fix memory leak with shader cache;
This commit is contained in:
parent
c524d2c4fc
commit
f914b6fcf1
|
@ -669,6 +669,8 @@ static int l_lovrGraphicsInit(lua_State* L) {
|
|||
}
|
||||
}
|
||||
|
||||
free(config.cacheData);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue