mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1077,6 +1077,7 @@ static int action_originate(struct mansession *s, struct message *m)
|
||||
} else {
|
||||
res = 0;
|
||||
}
|
||||
pthread_attr_destroy(&attr);
|
||||
}
|
||||
} else if (!ast_strlen_zero(app)) {
|
||||
res = ast_pbx_outgoing_app(tech, AST_FORMAT_SLINEAR, data, to, app, appdata, &reason, 1, l, n, vars, account, NULL);
|
||||
|
Reference in New Issue
Block a user