mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merged revisions 120863,120885 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r120863 | jpeeler | 2008-06-06 10:33:15 -0500 (Fri, 06 Jun 2008) | 3 lines This fixes a crash when LOW_MEMORY is turned on. Two allocations of the ast_rtp struct that were previously allocated on the stack have been modified to use thread local storage instead. ........ r120885 | jpeeler | 2008-06-06 11:39:20 -0500 (Fri, 06 Jun 2008) | 2 lines Correction to commmit 120863, make sure proper destructor function is called as well define two thread storage local variables. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@120906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -464,11 +464,12 @@ static int ast_park_call_full(struct ast_channel *chan, struct ast_channel *peer
|
||||
struct parkeduser *pu;
|
||||
int i, x = -1, parking_range;
|
||||
struct ast_context *con;
|
||||
const char *parkinglotname;
|
||||
const char *parkinglotname = NULL;
|
||||
const char *parkingexten;
|
||||
struct ast_parkinglot *parkinglot = NULL;
|
||||
|
||||
parkinglotname = findparkinglotname(peer);
|
||||
if (peer)
|
||||
parkinglotname = findparkinglotname(peer);
|
||||
|
||||
if (parkinglotname) {
|
||||
if (option_debug)
|
||||
|
Reference in New Issue
Block a user