Changeset 762

Show
Ignore:
Timestamp:
09/29/11 13:41:12 (8 months ago)
Author:
mgalloy
Message:

Check if there was a last line before freeing last line (last child is -1 parent was empty).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/parser/docparrstmarkupparser__define.pro

    r757 r762  
    327327          blankLine = listing->getChild(/last) 
    328328          listing->removeChild, /last 
    329           obj_destroy, blankLine 
     329          if (obj_valid(blankLine)) then obj_destroy, blankLine 
    330330        endif 
    331331