mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-10 04:45:48 +01:00
Fix a memory leak. (#94550, Sebastian Rittau)
Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com> * glib/gdate.c (g_date_fill_parse_tokens): Fix a memory leak. (#94550, Sebastian Rittau)
This commit is contained in:
parent
336d715c8e
commit
f861d72bb2
@ -1,3 +1,8 @@
|
|||||||
|
Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
|
||||||
|
leak. (#94550, Sebastian Rittau)
|
||||||
|
|
||||||
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gcompletion.[ch] (g_completion_complete): Make
|
* glib/gcompletion.[ch] (g_completion_complete): Make
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
|
||||||
|
leak. (#94550, Sebastian Rittau)
|
||||||
|
|
||||||
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gcompletion.[ch] (g_completion_complete): Make
|
* glib/gcompletion.[ch] (g_completion_complete): Make
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
|
||||||
|
leak. (#94550, Sebastian Rittau)
|
||||||
|
|
||||||
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gcompletion.[ch] (g_completion_complete): Make
|
* glib/gcompletion.[ch] (g_completion_complete): Make
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
|
||||||
|
leak. (#94550, Sebastian Rittau)
|
||||||
|
|
||||||
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gcompletion.[ch] (g_completion_complete): Make
|
* glib/gcompletion.[ch] (g_completion_complete): Make
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
|
||||||
|
leak. (#94550, Sebastian Rittau)
|
||||||
|
|
||||||
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gcompletion.[ch] (g_completion_complete): Make
|
* glib/gcompletion.[ch] (g_completion_complete): Make
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
|
||||||
|
leak. (#94550, Sebastian Rittau)
|
||||||
|
|
||||||
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gcompletion.[ch] (g_completion_complete): Make
|
* glib/gcompletion.[ch] (g_completion_complete): Make
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
|
* glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
|
||||||
|
leak. (#94550, Sebastian Rittau)
|
||||||
|
|
||||||
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* glib/gcompletion.[ch] (g_completion_complete): Make
|
* glib/gcompletion.[ch] (g_completion_complete): Make
|
||||||
|
@ -528,7 +528,7 @@ g_date_fill_parse_tokens (const gchar *str, GDateParseTokens *pt)
|
|||||||
if (found != NULL)
|
if (found != NULL)
|
||||||
{
|
{
|
||||||
pt->month = i;
|
pt->month = i;
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -539,12 +539,14 @@ g_date_fill_parse_tokens (const gchar *str, GDateParseTokens *pt)
|
|||||||
if (found != NULL)
|
if (found != NULL)
|
||||||
{
|
{
|
||||||
pt->month = i;
|
pt->month = i;
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
++i;
|
++i;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_free (normalized);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user