diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-31 21:25:11 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-01-31 21:25:11 +0000 |
commit | 429708be61aa87849d22506b160268529e333966 (patch) | |
tree | c5e1072803ac13065b5b9f0d0e7e352f5cb1acf9 /apps/app_queue.c | |
parent | 0c01638a1711f8e63655a564971e18db13a904f1 (diff) |
Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53045 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 64117322f..b6d809862 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -562,6 +562,7 @@ static int statechange_queue(const char *dev, int state, void *ign) ast_log(LOG_WARNING, "Failed to create update thread!\n"); free(sc); } + pthread_attr_destroy(&attr); return 0; } |