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
commit4f850d5acce0a9fd7e345e8752d45204d61937e2 (patch)
treef9307e7195533a61ef501b6c748be7c9583d5802
parent531b92fcc23b3a160edd68b2c082697126801c5e (diff)
#580 double free in checkDato()
This is fixing e052fdceec013 that releases the libdbi result twice.
-rw-r--r--sources/ogAdmServer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sources/ogAdmServer.c b/sources/ogAdmServer.c
index df09e35..d4a04d2 100644
--- a/sources/ogAdmServer.c
+++ b/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 {