Commit 59483b28 authored by Davis King's avatar Davis King

merged

parents 9b040cd7 509d6235
...@@ -47,6 +47,7 @@ py::list get_jitter_images(py::object img, size_t num_jitters = 1, bool disturb_ ...@@ -47,6 +47,7 @@ py::list get_jitter_images(py::object img, size_t num_jitters = 1, bool disturb_
py::handle handle = arr; py::handle handle = arr;
// Append image to jittered image list // Append image to jittered image list
jitter_list.append(handle); jitter_list.append(handle);
Py_DECREF(arr);
} }
return jitter_list; return jitter_list;
...@@ -91,6 +92,7 @@ py::list get_face_chips ( ...@@ -91,6 +92,7 @@ py::list get_face_chips (
// Append image to chips list // Append image to chips list
chips_list.append(handle); chips_list.append(handle);
Py_DECREF(arr);
} }
return chips_list; return chips_list;
} }
......
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