From 49bfb1308db8eff186677bcd8f1dd3861d9b26d8 Mon Sep 17 00:00:00 2001 From: Laurent Deru Date: Fri, 16 Jan 2015 16:44:19 +0100 Subject: [PATCH] Do not delete instance when a new DODAG can not be created --- core/net/rpl/rpl-dag.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/net/rpl/rpl-dag.c b/core/net/rpl/rpl-dag.c index f75719b6c..c128dd503 100644 --- a/core/net/rpl/rpl-dag.c +++ b/core/net/rpl/rpl-dag.c @@ -507,7 +507,6 @@ rpl_alloc_dag(uint8_t instance_id, uip_ipaddr_t *dag_id) } RPL_STAT(rpl_stats.mem_overflows++); - rpl_free_instance(instance); return NULL; } /*---------------------------------------------------------------------------*/