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:
Thomas Goyne 2010-02-26 00:18:33 +00:00
parent 0a8a495aea
commit d63dab8a3e
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ void csrilib_inst_remove(struct csri_wrap_inst *winst)
if (!*pnext) if (!*pnext)
return; return;
*pnext = (*pnext)->next; *pnext = (*pnext)->next;
free(winst);
} }
void csrilib_rend_initadd(struct csri_wrap_rend *wrend) void csrilib_rend_initadd(struct csri_wrap_rend *wrend)