Commit 56552a9d authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Initialize the parent field of the newly allocate list entry. (#159330,

2004-11-24  Matthias Clasen  <mclasen@redhat.com>

	* xdgmimeparent.c (_xdg_mime_parent_read_from_file):
	Initialize the parent field of the newly allocate list
	entry.  (#159330, Alex Larsson)
parent ec69f80e
2004-11-24 Matthias Clasen <mclasen@redhat.com>
* xdgmimeparent.c (_xdg_mime_parent_read_from_file):
Initialize the parent field of the newly allocate list
entry. (#159330, Alex Larsson)
Fri Nov 19 15:10:32 2004 Manish Singh <yosh@gimp.org>
* xdgmime.c: Don't put /* within a comment.
......
......@@ -163,6 +163,7 @@ _xdg_mime_parent_read_from_file (XdgParentList *list,
alloc * sizeof (XdgMimeParents));
}
list->parents[list->n_mimes].mime = strdup (line);
list->parents[list->n_mimes].parent = NULL;
entry = &(list->parents[list->n_mimes]);
list->n_mimes++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment