From: Arran Cudbard-Bell Date: Thu, 17 Dec 2020 06:49:15 +0000 (-0600) Subject: Use correct free function X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dbb6daf07fa98fbc01f991c89a522b68943c2ee;p=thirdparty%2Ffreeradius-server.git Use correct free function --- diff --git a/src/modules/rlm_python/rlm_python.c b/src/modules/rlm_python/rlm_python.c index cfc85f13ca8..f4d131f35e3 100644 --- a/src/modules/rlm_python/rlm_python.c +++ b/src/modules/rlm_python/rlm_python.c @@ -1147,7 +1147,7 @@ static int mod_load(void) static void mod_unload(void) { PyThreadState_Swap(global_interpreter); /* Swap to the main thread */ - if (default_path) PyMem_RawFree(default_path); + if (default_path) PyMem_Free(default_path); Py_Finalize(); if (python_dlhandle) dlclose(python_dlhandle); /* dlclose will SEGV on null handle */