diff options
author | sr55 <[email protected]> | 2015-01-10 18:37:52 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2015-01-10 18:37:52 +0000 |
commit | e893c87e5ce55af2ceb2d9a0291f614ea312d0d1 (patch) | |
tree | e24f11db3b9bef61b013fe14486ac90bbb206da3 /win/CS/HandBrake.Interop/HandBrakeInterop/HbLib | |
parent | 2d7ab4d15eb9ea450787831445cbf79d5192d18c (diff) |
WinGui: Fix a large memory leak in the preview window that was introduced with the switch to _preview2
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6725 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrakeInterop/HbLib')
-rw-r--r-- | win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs index 2b1e4a770..8721784e8 100644 --- a/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs +++ b/win/CS/HandBrake.Interop/HandBrakeInterop/HbLib/HbFunctions.cs @@ -452,6 +452,11 @@ namespace HandBrake.Interop.HbLib [DllImport("hb.dll", EntryPoint = "hb_get_preview2", CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr hb_get_preview2(IntPtr hbHandle, int title_idx, int preview_idx, ref hb_geometry_settings_s geo, int deinterlace);
+ // void hb_image_close(hb_image_t **_image);
+ [DllImport("hb.dll", EntryPoint = "hb_image_close", CallingConvention = CallingConvention.Cdecl)]
+ public static extern IntPtr hb_image_close(IntPtr image);
+
+
/* JSON API */
// char * hb_get_title_set_json(hb_handle_t * h);
|