summaryrefslogtreecommitdiff
path: root/board/st/u8500/mcde_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/u8500/mcde_hw.c')
-rw-r--r--board/st/u8500/mcde_hw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/st/u8500/mcde_hw.c b/board/st/u8500/mcde_hw.c
index a858e67aa..ed85c5b79 100644
--- a/board/st/u8500/mcde_hw.c
+++ b/board/st/u8500/mcde_hw.c
@@ -874,6 +874,8 @@ int mcde_init(u8 num_data_lanes)
void mcde_exit(void)
{
- if (dsiio)
+ if (dsiio) {
free(dsiio);
+ dsiio = NULL;
+ }
}