diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-11-24 19:22:44 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-11-24 19:22:44 +0000 |
commit | 08f8c51bdeb58eeb0bfa5f14222e1e64bb9fb97e (patch) | |
tree | 10a605ef83fc2628198e4805b7291b2147f67b48 /generator | |
parent | 4296fe52a37736b7533b3bf447b29ad7933a3ab4 (diff) | |
download | netpbm-mirror-08f8c51bdeb58eeb0bfa5f14222e1e64bb9fb97e.tar.gz netpbm-mirror-08f8c51bdeb58eeb0bfa5f14222e1e64bb9fb97e.tar.xz netpbm-mirror-08f8c51bdeb58eeb0bfa5f14222e1e64bb9fb97e.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1776 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator')
-rw-r--r-- | generator/pgmnoise.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generator/pgmnoise.c b/generator/pgmnoise.c index a3098269..cf9c5be9 100644 --- a/generator/pgmnoise.c +++ b/generator/pgmnoise.c @@ -38,7 +38,7 @@ parseCommandLine(int argc, const char ** const argv, MALLOCARRAY_NOFAIL(option_def, 100); option_def_index = 0; /* incremented by OPTENT3 */ - OPTENT3(0, "randomseed", OPT_INT, &cmdlineP->randomseed, + OPTENT3(0, "randomseed", OPT_UINT, &cmdlineP->randomseed, &cmdlineP->randomseedSpec, 0); opt.opt_table = option_def; @@ -66,6 +66,7 @@ parseCommandLine(int argc, const char ** const argv, else cmdlineP->height = height; } + free(option_def); } |