* src/pic16/{device.c,pcode.c}: s/free/Safe_free/g for
[fw/sdcc] / src / pic16 / main.c
index 7e51fb27680fcfb49e618420a9920cd0942d7b58..9d72e646981b8d1ca78befea8e56c6d6dbdd935e 100644 (file)
@@ -256,7 +256,7 @@ _process_pragma(const char *sz)
          int found=0;
          
                while(symname) {
-                       ssym = Safe_calloc(1, sizeof(sectSyms));
+                       ssym = Safe_calloc(1, sizeof(sectSym));
                        ssym->name = Safe_calloc(1, strlen(symname)+2);
                        sprintf(ssym->name, "_%s", symname);
                        ssym->reg = NULL;