diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-20 15:34:00 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-09-20 15:34:00 +0200 |
commit | 2511ceb9f0c672c05fe22e303bc51ad20ddf0db1 (patch) | |
tree | 3cf7e3e4c8fdb2c1a69f4dfa8dc7b62a2e60b0a8 | |
parent | 3ca534a8759d01a5962e8006c32839fbdd2e47d7 (diff) |
Fix memory leak.
-rw-r--r-- | src/mainwindow.cc | 2 |
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); } |