From: Michael Gernoth Date: Sun, 6 Jun 2010 13:17:28 +0000 (+0200) Subject: fix memory leak X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/rigol/commitdiff_plain/c1ec14bbf5b7269df2ab382250556f9146b0e042?hp=616d54b715cbfdd3547724e19fff416046fdc44d fix memory leak --- diff --git a/commands.c b/commands.c index 646d3de..4986902 100644 --- a/commands.c +++ b/commands.c @@ -220,6 +220,7 @@ void do_display_screen(struct usb_dev_handle *sc) imglen -= ret; } close(pipefd[1]); + free(png); break; } }