Changeset 258a3bf


Ignore:
Timestamp:
May 24, 2010, 8:22:54 PM (10 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
release-1.6
Children:
8a3768b
Parents:
935b8d8
git-author:
Anders Kaseorg <andersk@mit.edu> (05/13/10 14:24:47)
git-committer:
Nelson Elhage <nelhage@mit.edu> (05/24/10 20:22:54)
Message:
owl_function_classinstfilt: Don’t leak class and instance on early return.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Reviewed-by: Nelson Elhage <nelhage@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r161e879 r258a3bf  
    23342334  /* if it already exists then go with it.  This lets users override */
    23352335  if (owl_global_get_filter(&g, filtname)) {
    2336     return(filtname);
     2336    goto done;
    23372337  }
    23382338
     
    23642364
    23652365  owl_free(argbuff);
     2366done:
    23662367  owl_free(class);
    23672368  if (instance) {
Note: See TracChangeset for help on using the changeset viewer.