Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

fixed memory leak

  • Loading branch information...
commit fc0df87cd98436b54837985f479ea83d5502be01 1 parent 0c2517d
Hoà V. DINH dinhviethoa authored

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. +6 0 src/data-types/charconv.c
6 src/data-types/charconv.c
@@ -275,7 +275,13 @@ int charconv_buffer(const char * tocode, const char * fromcode,
275 275 *result_len = result_length;
276 276 }
277 277 }
  278 + else {
  279 + mmap_string_free(mmapstr);
  280 + }
278 281 }
  282 + else {
  283 + mmap_string_free(mmapstr);
  284 + }
279 285 return res;
280 286 }
281 287 /* else, let's try with iconv, if available */

0 comments on commit fc0df87

Please sign in to comment.
Something went wrong with that request. Please try again.