fix(activation): Use plist_mem_free for plist-allocated strings
Changed free(xml) to plist_mem_free(xml) in path_a.c for correct deallocation of plist_to_xml output. Updated docstrings in record.h and plist_helpers.h to document the correct free function. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5e582f8fdf
commit
af8db9836f
3 changed files with 3 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ path_a_activate(device_info_t *dev)
|
|||
log_info("path_a: activation record submitted successfully");
|
||||
}
|
||||
|
||||
free(xml);
|
||||
plist_mem_free(xml);
|
||||
record_free(record);
|
||||
return ret;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue