diff --git a/configure/RELEASE b/configure/RELEASE index 37d8c6d..a30496c 100644 --- a/configure/RELEASE +++ b/configure/RELEASE @@ -22,7 +22,7 @@ TEMPLATE_TOP=$(EPICS_BASE)/templates/makeBaseApp/top #SNCSEQ=$(EPICS_BASE)/../modules/soft/seq # EPICS_BASE usually appears last so other apps can override stuff: -EPICS_BASE=/home/install/epics/base +EPICS_BASE=/opt/epics/base #Capfast users may need the following definitions #CAPFAST_TEMPLATES= diff --git a/pvDataApp/factory/FieldCreateFactory.cpp b/pvDataApp/factory/FieldCreateFactory.cpp index a71bb71..dd8c8a1 100644 --- a/pvDataApp/factory/FieldCreateFactory.cpp +++ b/pvDataApp/factory/FieldCreateFactory.cpp @@ -105,6 +105,7 @@ Structure::Structure (String fieldName, if(result==0) { String message("duplicate fieldName "); message += name; + delete[] fields; throw std::invalid_argument(message); } }