[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (a5515fcf70379ee8115f32e83cf115552e68df73)



The branch, master has been updated
       via  a5515fcf70379ee8115f32e83cf115552e68df73 (commit)
      from  7f9432d189a8824a418da803a43cf02d1d0916b8 (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/free_atexit.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit a5515fcf70379ee8115f32e83cf115552e68df73
Author: Patrick Bernaud <patrickb@xxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    Fix substitutions for leaky_*alloc functions

:100644 100644 558b597... fb53b51... M	src/free_atexit.h

=========
 Changes
=========

commit a5515fcf70379ee8115f32e83cf115552e68df73
Author: Patrick Bernaud <patrickb@xxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    Fix substitutions for leaky_*alloc functions

diff --git a/src/free_atexit.h b/src/free_atexit.h
index 558b597..fb53b51 100644
--- a/src/free_atexit.h
+++ b/src/free_atexit.h
@@ -11,7 +11,8 @@
 #define leaky_init()
 #define leaky_uninit()
 #define leaky_malloc(size) malloc(size)
-#define leaky_realloc(ptr, size) malloc(ptr, size)
+#define leaky_calloc(nmemb, size) calloc(nmemb, size)
+#define leaky_realloc(old_memory, size) realloc(old_memory, size)
 #else
 
 /* set up atexit() hook - can be avoided if leaky_uninit() is called by hand */




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs