Changeset ff426f9


Ignore:
Timestamp:
May 13, 2010, 3:03:07 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
447435a
Parents:
e54a746
git-author:
Anders Kaseorg <andersk@mit.edu> (05/13/10 14:24:47)
git-committer:
Anders Kaseorg <andersk@mit.edu> (05/13/10 15:03:07)
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

    r6cc3306 rff426f9  
    23312331  /* if it already exists then go with it.  This lets users override */
    23322332  if (owl_global_get_filter(&g, filtname)) {
    2333     return(filtname);
     2333    goto done;
    23342334  }
    23352335
     
    23612361
    23622362  owl_free(argbuff);
     2363done:
    23632364  owl_free(class);
    23642365  if (instance) {
Note: See TracChangeset for help on using the changeset viewer.