Changeset b85c1c4


Ignore:
Timestamp:
Mar 1, 2010, 8:15:29 PM (10 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.6, release-1.7, release-1.8, release-1.9
Children:
3e55268
Parents:
1915073
git-author:
Anders Kaseorg <andersk@mit.edu> (02/27/10 23:25:09)
git-committer:
Anders Kaseorg <andersk@mit.edu> (03/01/10 20:15:29)
Message:
owl_function_exec: Don’t leak the redirected command string.

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

Legend:

Unmodified
Added
Removed
  • functions.c

    rdacb555 rb85c1c4  
    20002000      owl_function_popless_text(out);
    20012001    } else if (type==0) {
     2002      owl_free(newbuff);
    20022003      return out;
    20032004    } else if (type==2) {
     
    20082009    owl_free(out);
    20092010  }
     2011  owl_free(newbuff);
    20102012  return NULL;
    20112013}
Note: See TracChangeset for help on using the changeset viewer.