Changeset 21201


Ignore:
Timestamp:
09/08/16 11:18:13 (9 years ago)
Author:
glperez
Message:

BUG: Fixing a Python bug where invalid pointers are freed, which causes segfault.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/wrappers/python/io/FetchPythonData.cpp

    r19896 r21201  
    267267                                _error_("unrecognized int pyarray type in input!");
    268268
     269                        /* These lines are causing a segfault
    269270                        if (py_matrix2)
    270271                                delete(py_matrix2);
     272                        */
    271273                }
    272274                else
     
    442444                                _error_("unrecognized double pyarray type in input!");
    443445
     446                        /* Causing a seg fault.
    444447                        if (py_vector2)
    445448                                delete(py_vector2);
     449                        */
    446450                }
    447451                else
Note: See TracChangeset for help on using the changeset viewer.