[gimp/wip/animation: 310/373] plug-ins: properly initialize a pointer to NULL.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/animation: 310/373] plug-ins: properly initialize a pointer to NULL.
- Date: Sat, 7 Oct 2017 02:20:47 +0000 (UTC)
commit 07092eb8e9adcfe2493d7fd9583507eafa873563
Author: Jehan <jehan girinstud io>
Date: Sun May 21 16:51:20 2017 +0200
plug-ins: properly initialize a pointer to NULL.
This fixes a possible segmentation fault.
.../animation-play/widgets/animation-layer-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/animation-play/widgets/animation-layer-view.c
b/plug-ins/animation-play/widgets/animation-layer-view.c
index af116c5..4481ee6 100644
--- a/plug-ins/animation-play/widgets/animation-layer-view.c
+++ b/plug-ins/animation-play/widgets/animation-layer-view.c
@@ -413,7 +413,7 @@ animation_layer_view_get_row (AnimationLayerView *view,
do
{
- GtkTreePath *path;
+ GtkTreePath *path = NULL;
GValue value = { 0, };
gtk_tree_model_get_value (model, &iter,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]