summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boot/image-android.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/image-android.c b/boot/image-android.c
index 57158280b41..362a5c7435a 100644
--- a/boot/image-android.c
+++ b/boot/image-android.c
@@ -322,6 +322,7 @@ int android_image_get_kernel(const void *hdr,
}
env_set("bootargs", newbootargs);
+ free(newbootargs);
if (os_data) {
if (image_get_magic(ihdr) == IH_MAGIC) {