aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings
diff options
context:
space:
mode:
authorGravatar Ethan Glasser-Camp <ethan@betacantrips.com>2012-02-07 05:05:03 -0500
committerGravatar David Bremner <bremner@debian.org>2012-02-14 23:44:30 -0400
commit5f39979a4aa2aea7d587201702fa3443248334bd (patch)
tree37841c9a67391cbc996bd89658ddd03a6fdecfa8 /bindings
parentd8bff4b3af412cd56283e6e2cda256b79d2fd40b (diff)
Free the results of scandir()
scandir() returns "strings allocated via malloc(3)" which are then "collected in array namelist which is allocated via malloc(3)". Currently we just free the array namelist. Instead, free all the entries of namelist, and then free namelist. entry only points to elements of namelist, so we don't free it separately.
Diffstat (limited to 'bindings')
0 files changed, 0 insertions, 0 deletions