Merge pull request #1017 from cetic/pr-dont-delete-instance

Do not delete instance when a new DODAG can not be created
This commit is contained in:
Nicolas Tsiftes 2015-05-10 15:09:59 +02:00
commit f8e13758e3

View File

@ -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;
}
/*---------------------------------------------------------------------------*/