d3bfff49c5
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1215 6952d904-891a-0410-993b-d76249ca496b
20 lines
682 B
Diff
20 lines
682 B
Diff
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
|
Date: 2009-05-17
|
|
Initial Package Version: changeset cb5655728089
|
|
Origin: hirofumi
|
|
Upstream Status: accepted
|
|
Description: correct gcc 4.4 compile error
|
|
|
|
diff -Naur tux3.orig/user/buffer.c tux3/user/buffer.c
|
|
--- tux3.orig/user/buffer.c 2009-05-17 20:13:43.440868934 +0000
|
|
+++ tux3/user/buffer.c 2009-05-17 19:19:25.410186739 +0000
|
|
@@ -475,7 +475,7 @@
|
|
|
|
data_allocation_failure:
|
|
warn("Error: %s unable to allocate space for buffer data", strerror(err));
|
|
- free(buffers);
|
|
+ free(prealloc_heads);
|
|
buffers_allocation_failure:
|
|
warn("Unable to pre-allocate buffers. Using on demand allocation for buffers");
|
|
return err;
|