mirror of https://github.com/akheron/jansson
VAPI: Fixed memory handling in case of Error
This commit is contained in:
parent
cca87ce46b
commit
cbb146156e
|
@ -27,8 +27,9 @@ namespace Jansson {
|
||||||
NULL
|
NULL
|
||||||
}
|
}
|
||||||
|
|
||||||
[CCode (cname = "json_error_t", has_type_id = false)]
|
[Compact]
|
||||||
public struct Error {
|
[CCode (cname = "json_error_t", free_function = "g_free", has_type_id = false)]
|
||||||
|
public class Error {
|
||||||
public string text;
|
public string text;
|
||||||
public string source;
|
public string source;
|
||||||
public int line;
|
public int line;
|
||||||
|
|
Loading…
Reference in New Issue