X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=common%2Fstdio.c;h=adbfc890dd4d8ac907cd73b7e9c4a481bda6150a;hb=d899a6d9a42d3a7682df803c41d4a3c865f78e20;hp=68c595d2d79c292e3ac9b93ae55b0b22bf0e27f0;hpb=d0796defbe8eff6fc3c27c893dcbc47af59d4764;p=karo-tx-uboot.git diff --git a/common/stdio.c b/common/stdio.c index 68c595d2d7..adbfc890dd 100644 --- a/common/stdio.c +++ b/common/stdio.c @@ -197,6 +197,7 @@ int stdio_deregister_dev(struct stdio_dev *dev, int force) } list_del(&(dev->list)); + free(dev); /* reassign Device list */ list_for_each(pos, &(devs.list)) {