Changeset: bdcff3b7a1c7 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bdcff3b7a1c7
Modified Files:
monetdb5/modules/mal/remote.c
Branch: Jan2014
Log Message:
Avoid resource leak
diffs (11 lines):
diff --git a/monetdb5/modules/mal/remote.c b/monetdb5/modules/mal/remote.c
--- a/monetdb5/modules/mal/remote.c
+++ b/monetdb5/modules/mal/remote.c
@@ -198,6 +198,7 @@ str RMTconnectScen(
}
if (mapi_reconnect(m) != MOK) {
+ mapi_disconnect(m);
MT_lock_unset(&mal_remoteLock, "remote.connect");
throw(IO, "remote.connect", "unable to connect to '%s': %s",
*ouri, mapi_error_str(m));
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list