Skip to content

Commit

Permalink
db.describe: fix illegal memory access report (OSGeo#4202)
Browse files Browse the repository at this point in the history
Fix issue reported in OSGeo#4021 (comment).
  • Loading branch information
kritibirda26 authored Aug 22, 2024
1 parent dd5547f commit ff98e42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/db.describe/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ int main(int argc, char **argv)
char buf[1024];
dbString stmt;

JSON_Object *root_object, *col_object;
JSON_Value *root_value, *cols_value, *col_value;
JSON_Object *root_object = NULL, *col_object = NULL;
JSON_Value *root_value = NULL, *cols_value = NULL, *col_value = NULL;
JSON_Array *cols_array = NULL;

parse_command_line(argc, argv);
Expand Down

0 comments on commit ff98e42

Please sign in to comment.