Fix a memory leak that I just noticed in the device state handling in app_queue.

On most device state changes, it would leak roughly 8 to 64 bytes (the length of
the name of the device).


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@65389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2
Russell Bryant 18 years ago
parent 0b6da8d56e
commit 03ad135134

@ -540,6 +540,8 @@ static void *changethread(void *data)
}
ast_mutex_unlock(&qlock);
free(sc);
return NULL;
}

Loading…
Cancel
Save