Valgrind fixes

This commit is contained in:
hooper114 2009-01-25 19:48:06 +00:00
parent a388575c8d
commit f1a60e5e51
2 changed files with 2 additions and 1 deletions

View file

@ -1021,6 +1021,7 @@ int aztec(struct zint_symbol *symbol, unsigned char source[])
/* Now add the symbol descriptor */
memset(desc_data,0,4);
memset(desc_ecc,0,6);
memset(descriptor,0,42);
if(compact) {
/* The first 2 bits represent the number of layers minus 1 */