summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/eiotas_iota.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/eiotas_iota.c b/src/lib/eiotas_iota.c
index 53bbbf8..b750599 100644
--- a/src/lib/eiotas_iota.c
+++ b/src/lib/eiotas_iota.c
@@ -77,6 +77,9 @@ void eiotas_iota_free(Eiotas_Iota *iota)
case EIOTAS_TYPE_BOARD:
eiotas_board_free((Eiotas_Board*)iota);
break;
+ default:
+ CRITICAL("SPANK SPANK: 0x%X type %d is unknown, memory leak",(unsigned int)iota,iota->type);
+ break;
}
}