summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainwindow.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 43238eb..5e7a041 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -108,6 +108,8 @@ void MainWindow::newImage(Frame frame)
p.convertFromImage(img);
l->setPixmap(p);
+ free(frame.data);
+
// printf("v"); fflush(stdout);
}