Commit 2c7e702e authored by Dafydd Harries's avatar Dafydd Harries

add nice_rng_free

darcs-hash:20070131135712-c9803-ffa82a9d3bc6e823d2b2500604ea1866ae5985f5.gz
parent b0d9d124
......@@ -12,6 +12,12 @@ nice_rng_new (void)
return rng;
}
void
nice_rng_free (NiceRNG *rng)
{
rng->free (rng);
}
void
nice_rng_generate_bytes (NiceRNG *rng, guint len, gchar *buf)
{
......
......@@ -14,6 +14,7 @@ main (void)
buf[8] = '\0';
//g_debug ("%s", buf);
g_assert (0 == strcmp (buf, "S9PObXR5"));
nice_rng_free (rng);
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