Skip to content
Snippets Groups Projects
Commit 16811848 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Do not unnecessarily initialize memory.

parent da567bcd
No related branches found
No related tags found
No related merge requests found
......@@ -276,7 +276,7 @@ static void fortran_interface(char *fname, char *fnameinc, char *fnameint,
size_t lineBufSize = 0;
char sname[128], *parname;
char xname[128];
char *xdes = calloc(128, 1);
char *xdes = malloc(128);
xname[0] = 0;
size_t xnameLen = 0;
enum cftype functype;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment