blob: dd897c152cb8ffa97a5ad5ee007a65431c88801b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- node.c
+++ node.c
@@ -609,7 +609,7 @@
node_ptr n;
int col;
{
- char *buf = (char *)malloc(option_print_node_length + 1);
+ char *buf = (char *)smv_malloc(option_print_node_length + 1);
int c,p;
if(buf == NULL) rpterr("Out of memory");
buf[0] = 0;
@@ -623,7 +623,7 @@
}
fprintf(stream,"%s",buf);
if(!c)fprintf(stream,"...");
- free(buf);
+ smv_free(buf);
return(col + p);
}
|