diff options
Diffstat (limited to 'src/libjwg.c')
-rw-r--r-- | src/libjwg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libjwg.c b/src/libjwg.c index e92da2e..4b1c877 100644 --- a/src/libjwg.c +++ b/src/libjwg.c @@ -39,7 +39,6 @@ fclose(handle->file); if (handle->data) GObj_Delete(handle->data); GObj_Remove(handle_list,handle); -free(handle); } @@ -69,7 +68,7 @@ static char * jwg_fiddle_text(char *str,int len) { char *s,*ptr; -s=(char *) malloc(len); +s=(char *) malloc(len+1024); bcopy(str,s,len); |