aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-27 04:44:49 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-07-27 04:44:49 +0000
commit13af22e0f4e62ad1026c6d1ee9dcffa75bc4836b (patch)
tree47d903050efcb3d5658d5b053e6c7f92e49f7904 /res
parent0fdbca7bd0bb070154bb02f5043d2d478a1114ae (diff)
fix seg fault when the parked call that timed out was the last one in the list
of parked calls (fixes issue #7565) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38330 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rw-r--r--res/res_features.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 8926afa78..85ed558da 100644
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -1567,7 +1567,7 @@ static void *do_parking_thread(void *ignore)
if (ast_context_remove_extension2(con, pt->parkingexten, 1, NULL))
ast_log(LOG_WARNING, "Whoa, failed to remove the extension!\n");
else
- notify_metermaids(pu->parkingexten, parking_con);
+ notify_metermaids(pt->parkingexten, parking_con);
} else
ast_log(LOG_WARNING, "Whoa, no parking context?\n");
free(pt);