mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-24 11:41:58 +00:00
factotum: plug a memory leak in apop
This commit is contained in:
parent
1fcdefc585
commit
8d5bcf7e1e
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ apopclient(Conv *c)
|
||||||
out:
|
out:
|
||||||
keyclose(k);
|
keyclose(k);
|
||||||
free(chal);
|
free(chal);
|
||||||
|
free(res);
|
||||||
if(c->attr != attr)
|
if(c->attr != attr)
|
||||||
freeattr(attr);
|
freeattr(attr);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in a new issue