Changeset: 1a52874121be for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1a52874121be
Modified Files:
clients/src/mapiclient/stethoscope.c
Branch: Oct2010
Log Message:
don't dereference walk, before it was assigned
diffs (13 lines):
diff -r 80d2e8be7120 -r 1a52874121be clients/src/mapiclient/stethoscope.c
--- a/clients/src/mapiclient/stethoscope.c Thu Sep 16 15:48:26 2010 +0200
+++ b/clients/src/mapiclient/stethoscope.c Thu Sep 16 15:52:27 2010 +0200
@@ -461,8 +461,8 @@
break;
walk = walk->next = malloc(sizeof(wthread));
}
+ walk->next = NULL;
}
- walk->next = NULL;
free(oalts);
for (walk = thds; walk != NULL; walk = walk->next) {
pthread_join(walk->id, NULL);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list