Changeset 596c8b10


Ignore:
Timestamp:
Jun 18, 2011, 4:39:47 PM (6 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
f0781ba
Parents:
a9237aa
git-author:
David Benjamin <davidben@mit.edu> (06/18/11 15:56:58)
git-committer:
David Benjamin <davidben@mit.edu> (06/18/11 16:39:47)
Message:
Don't leak string data in owl_util_regtest
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester.c

    r4c7c21f r596c8b10  
    218218  owl_string_appendf_quoted(g, "%q foo %q%q %s %", "hello", "world is", "can't");
    219219  FAIL_UNLESS("owl_string_appendf",
    220               !strcmp(g_string_free(g, false),
    221                       "hello foo 'world is'\"can't\" %s %"));
     220              !strcmp(g->str, "hello foo 'world is'\"can't\" %s %"));
     221  g_string_free(g, true);
    222222
    223223  /* if (numfailed) printf("*** WARNING: failures encountered with owl_util\n"); */
Note: See TracChangeset for help on using the changeset viewer.