Check-in Number:
|
1985 | |
Date: |
2002-Mar-09 00:08:39 (local)
2002-Mar-08 23:08:39 (UTC) |
User: | rse |
Branch: | |
Comment: |
upgrade to fixed ts.c |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/sa/ts.c 1.4 -> 1.5
--- ts.c 2002/01/02 12:43:50 1.4
+++ ts.c 2002/03/08 23:08:39 1.5
@@ -33,6 +33,11 @@
#include <string.h>
#include <stdarg.h>
+#include "config.h"
+#if defined(HAVE_DMALLOC_H) && defined(WITH_DMALLOC)
+#include "dmalloc.h"
+#endif
+
#include "ts.h"
/* embedded ring data structure library */
@@ -286,7 +291,7 @@
/* iterate through all test cases */
RING_FOREACH(tst, &ts->tests, ts_test_t, next) {
cp = ts_suite_masprintf(" Test: %s ........................................"
- "........................................", tst->title);
+ "........................................", tst->title);
cp[60] = '\0';
fprintf(stdout, "%s", cp);
free(cp);
@@ -379,7 +384,7 @@
free(tst->title);
free(tst);
}
- free(tst->title);
+ free(ts->title);
free(ts);
return;
}
|
|