[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1994-gadd735e |
Date: |
Sun, 18 May 2014 13:57:21 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".
The branch, master has been updated
via add735e872cf04379d067110ef04804ae4f058e8 (commit)
from d414f295dac153b4999a7c9dca0038fc81ae74d6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=add735e872cf04379d067110ef04804ae4f058e8
commit add735e872cf04379d067110ef04804ae4f058e8
Author: Bastiaan Jacques <address@hidden>
Date: Sun May 18 15:57:00 2014 +0200
Fix another use-after-free.
diff --git a/gui/gtk/gtk.cpp b/gui/gtk/gtk.cpp
index d2f5ceb..d7b4b97 100644
--- a/gui/gtk/gtk.cpp
+++ b/gui/gtk/gtk.cpp
@@ -585,6 +585,9 @@ void
GtkGui::quitUI()
{
stopAdvanceTimer();
+ // Unregister the callback registered by setTimeout, if any. This also
+ // removes other callbacks, but we're about to go away anyway.
+ while (g_source_remove_by_user_data(this)) {}
gtk_widget_destroy(_window);
gtk_main_quit();
}
-----------------------------------------------------------------------
Summary of changes:
gui/gtk/gtk.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-1994-gadd735e,
Bastiaan Jacques <=