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:
Owen Taylor 2002-10-14 22:18:16 +00:00 committed by Owen Taylor
parent 336d715c8e
commit f861d72bb2
8 changed files with 40 additions and 3 deletions

View File

@ -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>
* glib/gcompletion.[ch] (g_completion_complete): Make

View File

@ -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>
* glib/gcompletion.[ch] (g_completion_complete): Make

View File

@ -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>
* glib/gcompletion.[ch] (g_completion_complete): Make

View File

@ -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>
* glib/gcompletion.[ch] (g_completion_complete): Make

View File

@ -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>
* glib/gcompletion.[ch] (g_completion_complete): Make

View File

@ -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>
* glib/gcompletion.[ch] (g_completion_complete): Make

View File

@ -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>
* glib/gcompletion.[ch] (g_completion_complete): Make

View File

@ -528,7 +528,7 @@ g_date_fill_parse_tokens (const gchar *str, GDateParseTokens *pt)
if (found != NULL)
{
pt->month = i;
return;
break;
}
}
@ -539,12 +539,14 @@ g_date_fill_parse_tokens (const gchar *str, GDateParseTokens *pt)
if (found != NULL)
{
pt->month = i;
return;
break;
}
}
++i;
}
}
g_free (normalized);
}
}