Changeset 9190285 for tester.c


Ignore:
Timestamp:
Sep 18, 2010, 5:07:40 PM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
c394de8
Parents:
08263a8
git-author:
David Benjamin <davidben@mit.edu> (08/14/10 00:54:38)
git-committer:
David Benjamin <davidben@mit.edu> (09/18/10 17:07:40)
Message:
Ref-count the editwin
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester.c

    r7ba2ad4 r9190285  
    390390                                                            "blah"));
    391391
    392   owl_editwin_delete(oe); oe = NULL;
     392  owl_editwin_unref(oe); oe = NULL;
    393393  oe = owl_editwin_new(NULL, 80, 80, OWL_EDITWIN_STYLE_MULTILINE, NULL);
    394394
     
    403403                                                            "blah"));
    404404
    405   owl_editwin_delete(oe); oe = NULL;
     405  owl_editwin_unref(oe); oe = NULL;
    406406
    407407  /* Test owl_editwin_move_to_beginning_of_line. */
     
    425425  FAIL_UNLESS("find beginning of line after empty middle line",
    426426              owl_editwin_move_to_beginning_of_line(oe) == -2);
    427   owl_editwin_delete(oe); oe = NULL;
     427  owl_editwin_unref(oe); oe = NULL;
    428428
    429429  printf("# END testing owl_editwin (%d failures)\n", numfailed);
Note: See TracChangeset for help on using the changeset viewer.