diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2008-06-08 01:19:18 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2008-06-08 01:19:18 +0000 |
commit | a2da607bd4eed604a9e7d59528886b24de27222f (patch) | |
tree | d706edb7c4ee27a4fd2739831836c9987be8f799 /converter/other/pamtohtmltbl.c | |
parent | 67e41068ab7531b3bd5bf40036d0d9a36071d036 (diff) | |
download | netpbm-mirror-a2da607bd4eed604a9e7d59528886b24de27222f.tar.gz netpbm-mirror-a2da607bd4eed604a9e7d59528886b24de27222f.tar.xz netpbm-mirror-a2da607bd4eed604a9e7d59528886b24de27222f.zip |
Release 10.35.45
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@642 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/pamtohtmltbl.c')
-rw-r--r-- | converter/other/pamtohtmltbl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/converter/other/pamtohtmltbl.c b/converter/other/pamtohtmltbl.c index 293badcb..0afbfea0 100644 --- a/converter/other/pamtohtmltbl.c +++ b/converter/other/pamtohtmltbl.c @@ -180,9 +180,15 @@ allocOutputtedArray(unsigned int const width, unsigned int const height) { pm_error("Unable to allocate space for 'outputted' array"); for (row = 0; row < height; ++row) { + unsigned int col; + MALLOCARRAY(outputted[row], width); if (outputted[row] == NULL) pm_error("Unable to allocate space for 'outputted' array"); + + for (col = 0; col < width ; ++col) + outputted[row][col] = FALSE; + } return outputted; } |