mirror of https://github.com/odrling/Aegisub
Fix a memory leak in csri caused by csri_wrap_insts never being freed.
Originally committed to SVN as r4158.
This commit is contained in:
parent
0a8a495aea
commit
d63dab8a3e
|
@ -79,6 +79,7 @@ void csrilib_inst_remove(struct csri_wrap_inst *winst)
|
|||
if (!*pnext)
|
||||
return;
|
||||
*pnext = (*pnext)->next;
|
||||
free(winst);
|
||||
}
|
||||
|
||||
void csrilib_rend_initadd(struct csri_wrap_rend *wrend)
|
||||
|
|
Loading…
Reference in New Issue