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 | 0bbf3d7f77ae19911de2751c4adb571577fec904 (patch) | |
tree | 7bb1e9fd6a73eed5c11a40d3a563b4c74a6b4765 | |
parent | 9553071717eb4d3f853c079fb7dc1d2d29205aff (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/branches/version1.0@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"); |