Skip to content

Commit

Permalink
Merge pull request #476 from martinetd/fix_free
Browse files Browse the repository at this point in the history
Fix incorrect free in conn_sock
  • Loading branch information
giuseppe authored Dec 15, 2023
2 parents 3a9715d + 8557c11 commit 53531ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conn_sock.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ char *socket_parent_dir(gboolean use_full_attach_path, size_t desired_len)
{
/* if we're to use the full path, ignore the socket path and only use the bundle_path */
if (use_full_attach_path)
return opt_bundle_path;
return strdup(opt_bundle_path);

char *base_path = g_build_filename(opt_socket_path, opt_cuuid, NULL);

Expand Down

0 comments on commit 53531ac

Please sign in to comment.