mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-08 09:08:15 +02:00
2005-08-01 Colin Walters <walters@verbum.org>
Patch from Joe Markus Clarke: * glib/dbus-gidl.c (property_info_unref, arg_info_unref): Fix use-after-free.
This commit is contained in:
parent
1889d97d4e
commit
9a4c459076
2 changed files with 9 additions and 2 deletions
|
|
@ -2,6 +2,13 @@
|
|||
|
||||
Patch from Joe Markus Clarke:
|
||||
|
||||
* glib/dbus-gidl.c (property_info_unref, arg_info_unref): Fix
|
||||
use-after-free.
|
||||
|
||||
2005-08-01 Colin Walters <walters@verbum.org>
|
||||
|
||||
Patch from Joe Markus Clarke:
|
||||
|
||||
* tools/dbus-send.c (main):
|
||||
|
||||
Don't use C99 style initializers (bug #3933).
|
||||
|
|
|
|||
|
|
@ -662,8 +662,8 @@ property_info_unref (PropertyInfo *info)
|
|||
info->base.refcount -= 1;
|
||||
if (info->base.refcount == 0)
|
||||
{
|
||||
base_info_free (info);
|
||||
g_free (info->type);
|
||||
base_info_free (info);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -722,8 +722,8 @@ arg_info_unref (ArgInfo *info)
|
|||
if (info->base.refcount == 0)
|
||||
{
|
||||
g_hash_table_destroy (info->annotations);
|
||||
base_info_free (info);
|
||||
g_free (info->type);
|
||||
base_info_free (info);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue