projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5033be8
)
Fix an off-by-one error
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 30 Jul 2010 20:44:25 +0000
(16:44 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 30 Jul 2010 23:53:29 +0000
(19:53 -0400)
gio/gapplication.c
patch
|
blob
|
history
diff --git
a/gio/gapplication.c
b/gio/gapplication.c
index
c4b2b24
..
9cc59b2
100644
(file)
--- a/
gio/gapplication.c
+++ b/
gio/gapplication.c
@@
-747,7
+747,7
@@
g_application_list_actions (GApplication *application)
priv = application->priv;
- retval = g_new (gchar*, g_hash_table_size (priv->actions));
+ retval = g_new (gchar*, g_hash_table_size (priv->actions)
+ 1
);
i = 0;
g_hash_table_iter_init (&iter, priv->actions);