diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-22 15:22:10 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-05-22 15:22:10 +0200 |
commit | 95d85c0893fb11be8b6fa4c370baa6a8c2affcb7 (patch) | |
tree | 0ba5cd229a68ec58c8b92192af5ae4c6cd2e9bab | |
parent | 6b48d23402a2f9a55614f7cedf33252b15c54af1 (diff) | |
download | edoors-95d85c0893fb11be8b6fa4c370baa6a8c2affcb7.zip edoors-95d85c0893fb11be8b6fa4c370baa6a8c2affcb7.tar.gz |
eiotas_iota_free: add default clause to switch
-rw-r--r-- | src/lib/eiotas_iota.c | 3 |
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; } } |