[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (7a09bb3ab5c20ba1e3f687145000c5f142ed2fa6)
The branch, master has been updated
via 7a09bb3ab5c20ba1e3f687145000c5f142ed2fa6 (commit)
from 39dd5f6cd91ec9032c6d2e3ca543e3f8f6cf0e4a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/buffer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
=================
Commit Messages
=================
commit 7a09bb3ab5c20ba1e3f687145000c5f142ed2fa6
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
buffer.c: Fix crash in SmashBufferElement
The element is allocated with g_slice_new, so must be free'd with
g_slice_free.
Broken since commit 2ce35292b9e96da38cb56878005aba20891689eb:
Convert board objects to GLists of g_slice allocated memory
:100644 100644 8793f50... b396918... M src/buffer.c
=========
Changes
=========
commit 7a09bb3ab5c20ba1e3f687145000c5f142ed2fa6
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
buffer.c: Fix crash in SmashBufferElement
The element is allocated with g_slice_new, so must be free'd with
g_slice_free.
Broken since commit 2ce35292b9e96da38cb56878005aba20891689eb:
Convert board objects to GLists of g_slice allocated memory
diff --git a/src/buffer.c b/src/buffer.c
index 8793f50..b396918 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -926,7 +926,7 @@ SmashBufferElement (BufferTypePtr Buffer)
}
END_LOOP;
FreeElementMemory (element);
- free (element);
+ g_slice_free (ElementType, element);
return (true);
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs