commit | 8d43d94065e88e00e1460841b43c7de584ee5585 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Thu Feb 24 18:38:48 2011 -0800 |
committer | Android Git Automerger <android-git-automerger@android.com> | Thu Feb 24 18:38:48 2011 -0800 |
tree | 419aa21b03b26223563c2783f011a0f1398731c5 | |
parent | 5df22d03d2e7c6de213d83a58e0af39c42f839ca [diff] | |
parent | 2c273f004e0504ae0389ad160ed2a92624873189 [diff] |
am 2c273f00: store partition length in recovery.fstab * commit '2c273f004e0504ae0389ad160ed2a92624873189': store partition length in recovery.fstab
diff --git a/mtdutils/mtdutils.c b/mtdutils/mtdutils.c index 198f498..e4d2a60 100644 --- a/mtdutils/mtdutils.c +++ b/mtdutils/mtdutils.c
@@ -269,8 +269,8 @@ sprintf(mtddevname, "/dev/mtd/mtd%d", partition->device_index); ctx->fd = open(mtddevname, O_RDONLY); if (ctx->fd < 0) { - free(ctx); free(ctx->buffer); + free(ctx); return NULL; }