Fix a memory leak in acl_from_text() in case the conversion succeeded.
Submitted by: Jim Wilcoxson <prirun@gmail.com> MFC after: 1 week
This commit is contained in:
parent
414ed7a800
commit
0f3100cf28
@ -257,6 +257,7 @@ acl_from_text(const char *buf_p)
|
||||
}
|
||||
#endif
|
||||
|
||||
free(mybuf_p);
|
||||
return(acl);
|
||||
|
||||
error_label:
|
||||
|
Loading…
x
Reference in New Issue
Block a user