bugfix
- From: wmorgan syntony org
- To: balsa-list gnome org
- Subject: bugfix
- Date: Fri, 18 Dec 1998 12:04:04 -0500
Here's a fix for a memory bug that was causing all sorts of weird happenings
for me. As you can see, malloc and g_free don't mix :)
diff -u -r1.20 misc.c
--- libbalsa/misc.c 1998/12/12 14:36:39 1.20
+++ libbalsa/misc.c 1998/12/18 17:01:41
@@ -123,7 +123,7 @@
lseek (fd, 0, SEEK_SET);
- *buf = (char *) malloc (size);
+ *buf = (char *) g_malloc (size);
if (*buf == NULL)
{
return -1;
--
William
wmorgan@syntony.org
PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]