ESP: Free error string on UAT copy

CID: 1477519
This commit is contained in:
Martin Mathieson 2021-06-28 10:12:53 +01:00
parent c125236e57
commit 20491ae1d6
1 changed files with 3 additions and 0 deletions

View File

@ -440,6 +440,9 @@ static void* uat_esp_sa_record_copy_cb(void* n, const void* o, size_t siz _U_) {
/* Parse keys as in an update */
char *err = NULL;
uat_esp_sa_record_update_cb(new_rec, &err);
if (err) {
g_free(err);
}
return new_rec;
}