toolbox: fix memory leak
free img Test: make WITH_TIDY=1 mmma system/core/toolbox Change-Id: I2f8feff0eddca763ee4e7fc9867480af60c8a911
This commit is contained in:
parent
847670437b
commit
58da81d987
|
@ -741,6 +741,7 @@ int newfs_msdos_main(int argc, char *argv[])
|
|||
exit(1);
|
||||
}
|
||||
}
|
||||
free(img);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue