packet-someip.c: Fix copy-paste error

Fixes Coverity 1472261
This commit is contained in:
Moshe Kaplan 2021-01-24 13:32:15 +00:00 committed by AndersBroman
parent 0dab2494ca
commit 5693ca8d50
1 changed files with 1 additions and 1 deletions

View File

@ -1379,7 +1379,7 @@ copy_someip_parameter_struct_cb(void* n, const void* o, size_t size _U_) {
new_rec->id_ref = old_rec->id_ref;
if (old_rec->filter_string) {
new_rec->struct_name = g_strdup(old_rec->filter_string);
new_rec->filter_string = g_strdup(old_rec->filter_string);
} else {
new_rec->filter_string = NULL;
}