Skip to content

Commit

Permalink
Fix: Use g_string_free in update_scap_affected_products
Browse files Browse the repository at this point in the history
  • Loading branch information
timopollmeier committed Jan 31, 2025
1 parent 6e5511b commit 5b0e028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manage_sql_secinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -4119,7 +4119,7 @@ update_scap_affected_products ()
exec_affected_products_sql (cve_ids_buffer->str);
g_debug ("%s: Products of %d CVEs processed", __func__, count);
}
g_free (cve_ids_buffer);
g_string_free (cve_ids_buffer, TRUE);

g_info ("Updating affected products ... done");
}
Expand Down

0 comments on commit 5b0e028

Please sign in to comment.