i think this fixes a memory leak
This commit is contained in:
parent
d91f945375
commit
ffa6b20854
2 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ private class SourceFuncWrapper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class Playbin : GLib.Object {
|
class Playbin : GLib.Object {
|
||||||
private Mpv.Handle mpv = new Mpv.Handle ();
|
private Mpv.Handle mpv = new Mpv.Handle ();
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ namespace Mpv {
|
||||||
|
|
||||||
[CCode (cname = "mpv_event_property", destroy_function = "", has_type_id = false, has_copy_function = false)]
|
[CCode (cname = "mpv_event_property", destroy_function = "", has_type_id = false, has_copy_function = false)]
|
||||||
public struct EventProperty {
|
public struct EventProperty {
|
||||||
string name;
|
unowned string name;
|
||||||
Format format;
|
Format format;
|
||||||
void *data;
|
void *data;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue