Skip to content

Commit be1a0e0

Browse files
ozgengreenbonebot
authored andcommitted
fix: pass report_id directly to get_data_set_extra
1 parent 7b1f858 commit be1a0e0

7 files changed

Lines changed: 7 additions & 7 deletions

src/gmp_report_applications.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ get_report_applications_start (const gchar **attribute_names,
7373
get_report_apps_data.report_id = g_strdup (attribute);
7474

7575
get_data_set_extra (&get_report_apps_data.get, "report_id",
76-
g_strdup (attribute));
76+
attribute);
7777
}
7878
}
7979

src/gmp_report_errors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ get_report_errors_start (const gchar **attribute_names,
6666

6767
get_data_set_extra (&get_report_errors_data.get,
6868
"report_id",
69-
g_strdup (attribute));
69+
attribute);
7070
}
7171
}
7272

src/gmp_report_hosts.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ get_report_hosts_start (const gchar **attribute_names,
6767
get_report_hosts_data.report_id = g_strdup (attribute);
6868

6969
get_data_set_extra (&get_report_hosts_data.get, "report_id",
70-
g_strdup (attribute));
70+
attribute);
7171
}
7272
if (find_attribute (attribute_names, attribute_values,
7373
"lean", &attribute))

src/gmp_report_operating_systems.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ get_report_operating_systems_start (const gchar **attribute_names,
7373
get_report_os_data.report_id = g_strdup (attribute);
7474

7575
get_data_set_extra (&get_report_os_data.get, "report_id",
76-
g_strdup (attribute));
76+
attribute);
7777
}
7878
}
7979

src/gmp_report_ports.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ get_report_ports_start (const gchar **attribute_names,
6767
get_report_ports_data.report_id = g_strdup (attribute);
6868

6969
get_data_set_extra (&get_report_ports_data.get, "report_id",
70-
g_strdup (attribute));
70+
attribute);
7171
}
7272
}
7373

src/gmp_report_tls_certificates.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ get_report_tls_certificates_start (const gchar **attribute_names,
6969

7070
get_data_set_extra (&get_report_tls_certificates_data.get,
7171
"report_id",
72-
g_strdup (attribute));
72+
attribute);
7373
}
7474
}
7575

src/gmp_report_vulns.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ get_report_vulns_start (const gchar **attribute_names,
7373
get_report_vulns_data.report_id = g_strdup (attribute);
7474

7575
get_data_set_extra (&get_report_vulns_data.get, "report_id",
76-
g_strdup (attribute));
76+
attribute);
7777
}
7878
}
7979

0 commit comments

Comments
 (0)