diff options
author | ramon <ramongomez@us.es> | 2012-10-25 11:19:30 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-10-25 11:19:30 +0000 |
commit | bf001d0759e2697c3e9725257066046b527d9b5c (patch) | |
tree | a594df4481b32d6671df7074189f9691d89261e1 | |
parent | c057e2074e32050d01f5f4c5a9066027f008b579 (diff) |
#559: Corregir errata al liberar memoria antes de tomar los parĂ¡metros de arranque de ogAdmRepo y ogAdmAgent.
git-svn-id: https://opengnsys.es/svn/trunk@3380 a21b9725-9963-47de-94b9-378ad31fedc9
-rw-r--r-- | admin/Sources/Services/ogAdmAgent/sources/ogAdmAgent.cpp | 1 | ||||
-rw-r--r-- | admin/Sources/Services/ogAdmRepo/sources/ogAdmRepo.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/admin/Sources/Services/ogAdmAgent/sources/ogAdmAgent.cpp b/admin/Sources/Services/ogAdmAgent/sources/ogAdmAgent.cpp index f245d040..cce297fe 100644 --- a/admin/Sources/Services/ogAdmAgent/sources/ogAdmAgent.cpp +++ b/admin/Sources/Services/ogAdmAgent/sources/ogAdmAgent.cpp @@ -59,7 +59,6 @@ BOOLEAN tomaConfiguracion(char* filecfg) catalog[0] = (char) NULL;
numlin = splitCadena(lineas, buffer, '\n');
- liberaMemoria(buffer);
for (i = 0; i < numlin; i++) {
splitCadena(dualparametro, lineas[i], '=');
resul = strcmp(StrToUpper(dualparametro[0]), "SERVIDORADM");
diff --git a/admin/Sources/Services/ogAdmRepo/sources/ogAdmRepo.cpp b/admin/Sources/Services/ogAdmRepo/sources/ogAdmRepo.cpp index 06a81267..067b6af0 100644 --- a/admin/Sources/Services/ogAdmRepo/sources/ogAdmRepo.cpp +++ b/admin/Sources/Services/ogAdmRepo/sources/ogAdmRepo.cpp @@ -53,7 +53,6 @@ BOOLEAN tomaConfiguracion(char* filecfg) { puerto[0] = (char) NULL; numlin = splitCadena(lineas, buffer, '\n'); - liberaMemoria(buffer); for (i = 0; i < numlin; i++) { splitCadena(dualparametro, lineas[i], '='); resul = strcmp(StrToUpper(dualparametro[0]), "IPLOCAL"); |