Skip to content

Commit

Permalink
fix: typo in clear routine (#842)
Browse files Browse the repository at this point in the history
  • Loading branch information
wooffie authored Feb 18, 2025
1 parent 046912f commit 07df538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ nats_JSONArrayAsStrings(nats_JSONArray *arr, char ***array, int *arraySize)
int j;

for (j=0; j<i; j++)
NATS_FREE(values[i]);
NATS_FREE(values[j]);

NATS_FREE(values);
}
Expand Down

0 comments on commit 07df538

Please sign in to comment.