diff options
-rw-r--r-- | sources/ogAdmServer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/ogAdmServer.cpp b/sources/ogAdmServer.cpp index 9059b45..6473143 100644 --- a/sources/ogAdmServer.cpp +++ b/sources/ogAdmServer.cpp @@ -1009,6 +1009,7 @@ BOOLEAN AutoexecCliente(SOCKET *socket_c, TRAMA *ptrTrama) { lon += sprintf(ptrTrama->parametros + lon, "res=0\r"); } + db.Close(); fclose(fileexe); if (!mandaTrama(socket_c, ptrTrama)) { @@ -3425,6 +3426,7 @@ BOOLEAN envioProgramacion(SOCKET *socket_c, TRAMA *ptrTrama) errorInfo(modulo, msglog); return (FALSE); } + db.Close(); if(tbl.ISEOF()) return (TRUE); // No existen registros |