Commit 57ffa016 authored by Dmitry Vagin's avatar Dmitry Vagin Committed by Evan Nemerson

libpq: fix freeing of Postgres.Notify

Fixes bug 678910.
parent 67200696
......@@ -89,11 +89,14 @@ namespace Postgres {
SOURCE_FUNCTION
}
[CCode (cname = "PGnotify")]
public struct Notify {
[Compact]
[CCode (cname = "PGnotify", free_function = "PQfreemem")]
public class Notify {
public string relname;
public int be_pid;
public string extra;
private Notify ();
}
[CCode (cname = "PQnoticeReceiver")]
......
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