diff --git a/.gitignore b/.gitignore index af9347c..b5088cf 100644 --- a/.gitignore +++ b/.gitignore @@ -27,11 +27,11 @@ *.trs *.whl /*.egg-info/ +__pycache__ .deps .dirstamp .libs .tox -__pycache__ INSTALL Makefile Makefile.bcc diff --git a/configure.ac b/configure.ac index 9d60724..32fb25a 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ([2.71]) AC_INIT( [liblnk], - [20230731], + [20230928], [joachim.metz@gmail.com]) AC_CONFIG_SRCDIR( @@ -203,7 +203,6 @@ AC_CONFIG_FILES([dpkg/changelog]) AC_CONFIG_FILES([liblnk/liblnk.rc]) AC_CONFIG_FILES([liblnk.pc]) AC_CONFIG_FILES([liblnk.spec]) -AC_CONFIG_FILES([setup.cfg]) dnl Generate a source configuration file AC_CONFIG_HEADERS([common/config.h]) diff --git a/liblnk.nuspec b/liblnk.nuspec index d37710f..82693ed 100644 --- a/liblnk.nuspec +++ b/liblnk.nuspec @@ -2,7 +2,7 @@ liblnk - 20230731 + 20230928 Joachim Metz joachimmetz LGPL-3.0-or-later @@ -10,7 +10,7 @@ false liblnk Library to access the Windows Shortcut File (LNK) format - Release of liblnk 20230731 + Release of liblnk 20230928 Copyright (C) 2009-2023 native diff --git a/pylnk/pylnk_file_object_io_handle.c b/pylnk/pylnk_file_object_io_handle.c index d48910a..162de40 100644 --- a/pylnk/pylnk_file_object_io_handle.c +++ b/pylnk/pylnk_file_object_io_handle.c @@ -211,8 +211,7 @@ int pylnk_file_object_io_handle_free( pylnk_file_object_io_handle_t **file_object_io_handle, libcerror_error_t **error ) { - static char *function = "pylnk_file_object_io_handle_free"; - PyGILState_STATE gil_state = 0; + static char *function = "pylnk_file_object_io_handle_free"; if( file_object_io_handle == NULL ) { @@ -227,8 +226,6 @@ int pylnk_file_object_io_handle_free( } if( *file_object_io_handle != NULL ) { - gil_state = PyGILState_Ensure(); - Py_DecRef( ( *file_object_io_handle )->file_object ); @@ -236,9 +233,6 @@ int pylnk_file_object_io_handle_free( *file_object_io_handle ); *file_object_io_handle = NULL; - - PyGILState_Release( - gil_state ); } return( 1 ); }