summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2020-03-24 11:17:21 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-03-24 11:17:46 +0100
commit2a193c5515f756f863da5b4c7867d0ccfd66ae18 (patch)
tree6c6ab1164fab1e8e08dfff562eda81e7b133d350
parentc089f2991b8cc708d364265d5b6a26e69cc5f78c (diff)
#580 double free in checkDato()
This is fixing e052fdceec013 that releases the libdbi result twice.
-rw-r--r--admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c
index df09e35a..d4a04d28 100644
--- a/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c
+++ b/admin/Sources/Services/ogAdmServer/sources/ogAdmServer.c
@@ -709,8 +709,6 @@ int checkDato(struct og_dbi *dbi, char *dato, const char *tabla,
og_info((char *)msglog);
return (0);
}
- dbi_result_free(result);
-
// Recupera el identificador del software
identificador = dbi_conn_sequence_last(dbi->conn, NULL);
} else {