Skip to content

Commit d27b8e2

Browse files
committed
Don't explicitly free the memory
Freeing isn't correct here.
1 parent ca1531e commit d27b8e2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pyvips/base.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,6 @@ def values_for_enum(gtype):
102102
value = _to_string(ffi.string(g_enum_class.values[i].value_nick))
103103
values.append(value)
104104

105-
glib_lib.g_free(g_enum_class)
106-
107105
return values
108106

109107

0 commit comments

Comments
 (0)