diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-28 09:06:10 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-28 09:26:39 +0200 |
commit | 0067b4df75cdbeb325024cd2b66e3d64fe8b3fcd (patch) | |
tree | 2c1b3bbcc3367eaec0c61ebab10303fa73f05b68 /libreofficekit/source/gtk/tilebuffer.hxx | |
parent | 6a9f985ea698355f38c1681c1eb276f8b9dd859c (diff) |
libreofficekit: fix mismatched free() / delete
Change-Id: I60eb53d4bf9943fd52e0a9d8e3574a7d1cc027e0
Diffstat (limited to 'libreofficekit/source/gtk/tilebuffer.hxx')
-rw-r--r-- | libreofficekit/source/gtk/tilebuffer.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libreofficekit/source/gtk/tilebuffer.hxx b/libreofficekit/source/gtk/tilebuffer.hxx index 750ff790e1e4..5a989fcf2059 100644 --- a/libreofficekit/source/gtk/tilebuffer.hxx +++ b/libreofficekit/source/gtk/tilebuffer.hxx @@ -235,6 +235,9 @@ struct LOEvent , m_nSetGraphicSelectionY(0) { } + + /// Wrapper around delete to help GLib. + static void destroy(void* pMemory); }; #endif // INCLUDED_TILEBUFFER_HXX |