aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/afterstep-stable/files/patch-libAfterBase::audit.c
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-10-13 10:20:10 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-10-13 10:20:10 +0000
commit47edfcc296a030952c6b9e3bf4e2ab824e4a8be9 (patch)
tree1e8a1dc63baa9d24c80a326338ca827f82acb628 /x11-wm/afterstep-stable/files/patch-libAfterBase::audit.c
parentc79324b8fc14576f7aa5a7b144a2767a74e8a595 (diff)
downloadports-47edfcc296a030952c6b9e3bf4e2ab824e4a8be9.tar.gz
ports-47edfcc296a030952c6b9e3bf4e2ab824e4a8be9.zip
Notes
Diffstat (limited to 'x11-wm/afterstep-stable/files/patch-libAfterBase::audit.c')
-rw-r--r--x11-wm/afterstep-stable/files/patch-libAfterBase::audit.c59
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-wm/afterstep-stable/files/patch-libAfterBase::audit.c b/x11-wm/afterstep-stable/files/patch-libAfterBase::audit.c
new file mode 100644
index 000000000000..05feb29018ca
--- /dev/null
+++ b/x11-wm/afterstep-stable/files/patch-libAfterBase::audit.c
@@ -0,0 +1,59 @@
+--- libAfterBase/audit.c.orig Sat Sep 25 03:45:27 2004
++++ libAfterBase/audit.c Wed Sep 29 15:36:51 2004
+@@ -498,7 +498,7 @@
+ #else
+ /*fprintf( stderr, "%s: freeing %p at %s:%d\n", __FUNCTION__, m->ptr, fname, line );*/
+ safefree (m->ptr);
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+ #endif
+ }
+
+@@ -817,7 +817,7 @@
+ */
+
+ XFreePixmap (display, pmap);
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+ return Success;
+ }
+
+@@ -852,7 +852,7 @@
+ }
+
+ XFreeGC (display, gc);
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+ return Success;
+ }
+
+@@ -931,17 +931,17 @@
+ /* can also be of C_MEM type if we allocated it ourselvs */
+ m = count_find_and_extract (fname, line, (void *)image, C_MEM);
+ if (m)
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+
+ /* find and free the image->data pointer if it is in our list */
+ if( image_data )
+ if ((m = count_find_and_extract (fname, line, image_data, C_MEM)) != NULL)
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+
+ /* find and free the image->obdata pointer if it is in our list */
+ if( image_obdata )
+ if ((m = count_find_and_extract (fname, line, image_obdata, C_MEM)) != NULL)
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+
+ return Success;
+ }
+@@ -1140,7 +1140,7 @@
+ }
+
+ XFree (data);
+- mem_destroy( (ASHashableValue)NULL, m );
++ mem_destroy( (ASHashableValue)(void*)NULL, m );
+ return Success;
+ }
+