aboutsummaryrefslogtreecommitdiffstats
path: root/mail/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/main.c')
-rw-r--r--mail/main.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/mail/main.c b/mail/main.c
index 5207543d92..e21982f465 100644
--- a/mail/main.c
+++ b/mail/main.c
@@ -29,13 +29,26 @@
#include "component-factory.h"
#include "mail.h"
+static int blowup(int status)
+{
+ printf("memory blew up, status %d\n", status);
+ /*abort();*/
+}
+
int
main (int argc, char *argv [])
{
CORBA_ORB orb;
-
- /* free (malloc (10));*/
+#if 0
+ /* used to make elfence work */
+#if 0
+ free (malloc (10));
+#else
+ /*mtrace();*/
+ mcheck(blowup);
+#endif
+#endif
bindtextdomain (PACKAGE, EVOLUTION_LOCALEDIR);
textdomain (PACKAGE);