projects
/
services
/
createrepo_c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80d31ee
)
Add an 'important' note
author
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 12 Jan 2012 09:21:17 +0000
(10:21 +0100)
committer
Tomas Mlcoch
<tmlcoch@redhat.com>
Thu, 12 Jan 2012 09:21:17 +0000
(10:21 +0100)
package.c
patch
|
blob
|
history
diff --git
a/package.c
b/package.c
index
dfd9ed9
..
5e547fa
100644
(file)
--- a/
package.c
+++ b/
package.c
@@
-65,6
+65,11
@@
package_free (Package *package)
{
g_string_chunk_free (package->chunk);
+/* Note: Since glib 2.28
+ * g_slist_foreach && g_slist_free could be replaced with one function:
+ * g_slist_free_full()
+ */
+
if (package->requires) {
g_slist_foreach (package->requires, (GFunc) g_free, NULL);
g_slist_free (package->requires);