mirror of http://gerrit.asterisk.org/asterisk
In the event that the desired extension already exists, ast_add_extension2_lockopt() will free the 'data' it is passed before returning an error, so we should not be freeing it ourselves. Additionally, there were two places where ast_add_extension2_lockopt() could return an error without also freeing the 'data' pointer, so we add that. ASTERISK-29097 #close Change-Id: I904707aae55169feda050a5ed7c6793b53fe6eaechanges/11/15011/3
parent
0bc136c3ab
commit
1b11f143d5
Loading…
Reference in new issue