Commit bceaa530 authored by Dafydd Harries's avatar Dafydd Harries

fix memleak in readline test

darcs-hash:20070130115642-c9803-5199ea5345810b6b442a3ccd5c3766603dabac99.gz
parent dd672a60
......@@ -32,6 +32,7 @@ main (void)
line = readline (0);
g_assert (0 == strcmp (line, "test"));
g_free (line);
line = readline (0);
g_assert (line == NULL);
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment