projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f0310d
)
gdkselectionoutputstream-x11: Fix a memory leak
author
Mohammed Sadiq
<sadiq@sadiqpk.org>
Sun, 27 Oct 2019 08:16:37 +0000
(13:46 +0530)
committer
Mohammed Sadiq
<sadiq@sadiqpk.org>
Sun, 27 Oct 2019 08:35:46 +0000
(14:05 +0530)
gdk/x11/gdkselectionoutputstream-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkselectionoutputstream-x11.c
b/gdk/x11/gdkselectionoutputstream-x11.c
index 63d1c33d17408257a494481dcdd4791d07b91656..cfacb13ac52540beb061107fead6159de1357150 100644
(file)
--- a/
gdk/x11/gdkselectionoutputstream-x11.c
+++ b/
gdk/x11/gdkselectionoutputstream-x11.c
@@
-44,7
+44,7
@@
struct _GdkX11SelectionOutputStreamPrivate {
Atom xtarget;
char *property;
Atom xproperty;
- c
onst c
har *type;
+ char *type;
Atom xtype;
int format;
gulong timestamp;
@@
-564,6
+564,7
@@
gdk_x11_selection_output_stream_finalize (GObject *object)
g_free (priv->selection);
g_free (priv->target);
g_free (priv->property);
+ g_free (priv->type);
G_OBJECT_CLASS (gdk_x11_selection_output_stream_parent_class)->finalize (object);
}