[svn-r28052] Purpose: Fix memory leaks

Description:
    - Implemented the friend function
        void f_PropList_setId(PropList* plist, hid_t new_id)
      to work around the same problem described in trunk r26655, for the
      API DataSet::getCreatePlist()
    - Cleaned up some comments and obsolete functions
    Merged from trunk r28047
Platforms tested:
    Linux/32 2.6 (jam)
    Darwin (osx1010test)
This commit is contained in:
Binh-Minh Ribler
2015-10-13 10:15:01 -05:00
parent ab8d3b1db9
commit faf35f2d4c
7 changed files with 36 additions and 39 deletions

View File

@@ -51,18 +51,6 @@ AbstractDs::AbstractDs(){}
//--------------------------------------------------------------------------
AbstractDs::AbstractDs(const hid_t ds_id){}
//--------------------------------------------------------------------------
// Function: AbstractDs copy constructor
///\brief Copy constructor: makes a copy of the original AbstractDs object.
// Programmer Binh-Minh Ribler - 2000
// *** Deprecation warning ***
// This constructor is no longer appropriate because the data member "id" had
// been moved to the sub-classes. It is removed from 1.8.15 because it is
// a noop and it can be generated by the compiler if needed.
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
// AbstractDs::AbstractDs(const AbstractDs& original){}
//--------------------------------------------------------------------------
// Function: AbstractDs::getTypeClass
///\brief Returns the class of the datatype that is used by this