libnm: use correct free macro for buffer in nm_utils_base64secret_decode()
In practice, g_free() and free() are the same. Still, avoid mixing the APIs and use free() as plain malloc() was used to allocate the buffer.
This commit is contained in:
@@ -5783,7 +5783,7 @@ nm_utils_base64secret_decode (const char *base64_key,
|
||||
gsize required_key_len,
|
||||
guint8 *out_key)
|
||||
{
|
||||
gs_free guint8 *bin_arr = NULL;
|
||||
nm_auto_free guint8 *bin_arr = NULL;
|
||||
gsize base64_key_len;
|
||||
gsize bin_len;
|
||||
int r;
|
||||
|
Reference in New Issue
Block a user