summaryrefslogtreecommitdiff
path: root/plugingui/image.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-05-10 18:51:51 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-05-10 18:51:51 +0200
commit6d4bfbf54cdd54a6f730f8f153612192d9855ee7 (patch)
tree478607a40561ecb96f117a8f4cc300c36acc472b /plugingui/image.h
parent45549563e1c9b6fb2f0a919eece37e4cf98a0d7e (diff)
Fixed image/png memory leak.
Diffstat (limited to 'plugingui/image.h')
-rw-r--r--plugingui/image.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/plugingui/image.h b/plugingui/image.h
index 0181ce8..acfe964 100644
--- a/plugingui/image.h
+++ b/plugingui/image.h
@@ -52,12 +52,8 @@ private:
void load(const char* data, size_t size);
size_t w, h;
- png_byte color_type;
- png_byte bit_depth;
- png_structp png_ptr;
- png_infop info_ptr;
int number_of_passes;
- png_bytep * row_pointers;
+ png_bytep *row_pointers;
};
};