summaryrefslogtreecommitdiffstatsci
path: root/src/image.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.cpp')
-rw-r--r--src/image.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/image.cpp b/src/image.cpp
new file mode 100644
index 0000000..b0bef53
--- /dev/null
+++ b/src/image.cpp
@@ -0,0 +1,11 @@
+#include <err.h>
+#include <stdlib.h>
+
+#include "image.h"
+
+void
+cleanup_state_image (void *data)
+{
+ image_state_t *state = (image_state_t*)data;
+ free(state);
+}