Skip to content

Commit e899fc7

Browse files
committed
Fix: Use g_string_free in update_scap_affected_products
1 parent 6e5511b commit e899fc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/manage_sql_secinfo.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4119,7 +4119,7 @@ update_scap_affected_products ()
41194119
exec_affected_products_sql (cve_ids_buffer->str);
41204120
g_debug ("%s: Products of %d CVEs processed", __func__, count);
41214121
}
4122-
g_free (cve_ids_buffer);
4122+
g_string_free (cve_ids_buffer, TRUE);
41234123

41244124
g_info ("Updating affected products ... done");
41254125
}

0 commit comments

Comments
 (0)