[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[Vala] about Soup.URI.encode
- From: "Victor Manuel Jáquez Leal" <ceyusa gmail com>
- To: vala-list gnome org
- Subject: [Vala] about Soup.URI.encode
- Date: Sun, 15 Jun 2008 15:57:23 +0200
Hi all,
I've been playing with the libsoup-2.4 bindings when I came across
with a memleak:
the method encode in the URI object is defined as:
public static weak string encode (string part, string escape_extra);
But according with reference:
soup_uri_encode ()
This %-encodes the given URI part and returns the escaped version in
allocated memory, which the caller must free when it is done.
So, I think is wrong declare the return value as weak.
vmjl
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]