Add missing transfer full annotation to soup_cookie_jar_add_cookie
authorDaniel Drake <dsd@laptop.org>
Thu, 23 Aug 2012 16:04:08 +0000 (10:04 -0600)
committerDaniel Drake <dsd@laptop.org>
Thu, 23 Aug 2012 16:52:38 +0000 (10:52 -0600)
commitdc4cf04a2b3e06570f87b566d310b98e4bf0c01b
treead6476aa451436d6f5336be56c2761e2661a195b
parent81bc02e6aae53c38d37dbf530b67ef7a752e19e5
Add missing transfer full annotation to soup_cookie_jar_add_cookie

Adding a cookie to a jar from Python (via introspection) wasn't working
right, since the cookie was being freed as soon as the python object
went out of scope, but soup_cookie_jar_add_cookie() explicitly states
that freeing shouldn't happen.

Add a missing annotation to fix this. Thanks to Benjamin Berg for the
suggestion.

Fixes http://bugs.sugarlabs.org/ticket/3825
https://bugzilla.gnome.org/show_bug.cgi?id=682554
libsoup/soup-cookie-jar.c