Skip to content

Commit

Permalink
Fix: Initialize roles with NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
y0urself committed Nov 4, 2021
1 parent b6eb25c commit 705ce8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -44048,6 +44048,7 @@ clean_feed_role_permissions (const char *type,
const char *permission_resource_id = iterator_string (&resources, 1);
const char *permission_resource_name = iterator_string (&resources, 2);
iterator_t permissions;
roles = NULL;

init_iterator (&permissions,
"DELETE FROM permissions"
Expand Down

0 comments on commit 705ce8a

Please sign in to comment.