diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 6274aa89fddc70e1788e6e84de175e41d08f59ab..f581af694337a623c417a8a45f954b713f857f79 100755
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -2926,6 +2926,7 @@ static void destroy_trans(struct dundi_transaction *trans, int fromtimeout)
 	destroy_packets(trans->packets);
 	destroy_packets(trans->lasttrans);
 	trans->packets = NULL;
+	trans->lasttrans = NULL;
 	if (trans->autokillid > -1)
 		ast_sched_del(sched, trans->autokillid);
 	trans->autokillid = -1;