shell-recorder-missing-XFree.patch 728 B

12345678910111213141516171819202122
  1. From 88df18345069c295e68d319606a11b7727b2bd4b Mon Sep 17 00:00:00 2001
  2. From: Maxim Ermilov <zaspire@rambler.ru>
  3. Date: Tue, 24 May 2011 22:46:47 +0000
  4. Subject: shell-recorder: missing XFree
  5. https://bugzilla.gnome.org/show_bug.cgi?id=650934
  6. ---
  7. diff --git a/src/shell-recorder.c b/src/shell-recorder.c
  8. index 6555187..d297923 100644
  9. --- a/src/shell-recorder.c
  10. +++ b/src/shell-recorder.c
  11. @@ -412,6 +412,8 @@ recorder_fetch_cursor_image (ShellRecorder *recorder)
  12. *(guint32 *)(data + i * stride + 4 * j) = cursor_image->pixels[i * cursor_image->width + j];
  13. cairo_surface_mark_dirty (recorder->cursor_image);
  14. +
  15. + XFree (cursor_image);
  16. }
  17. /* Overlay the cursor image on the frame. We draw the cursor image
  18. --
  19. cgit v0.9