diff options
author | Jeremy Allison <jra@samba.org> | 2000-06-02 21:16:39 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-06-02 21:16:39 +0000 |
commit | 0cc138993573a8337c335563ba3c5936d260f298 (patch) | |
tree | f151ba4b9ea3eb703c2081f19e70c9df3e212bb0 /source3/rpc_parse/parse_prs.c | |
parent | c7d0975183c286d9f93e57bf8c73c96c1a9ebd55 (diff) | |
download | samba-0cc138993573a8337c335563ba3c5936d260f298.tar.gz samba-0cc138993573a8337c335563ba3c5936d260f298.tar.bz2 samba-0cc138993573a8337c335563ba3c5936d260f298.zip |
More memory leak and PANIC action fixes.
This is *horrible* code :-(.
Jeremy.
(This used to be commit ac383bb765ea606fc1105aa91470fcdf453d9335)
Diffstat (limited to 'source3/rpc_parse/parse_prs.c')
-rw-r--r-- | source3/rpc_parse/parse_prs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c index 422b420a3c..0e057e9403 100644 --- a/source3/rpc_parse/parse_prs.c +++ b/source3/rpc_parse/parse_prs.c @@ -232,6 +232,9 @@ BOOL prs_grow(prs_struct *ps, uint32 extra_space) if ((new_data = Realloc(ps->data_p, new_size)) == NULL) { DEBUG(0,("prs_grow: Realloc failure for size %u.\n", (unsigned int)new_size)); + /* JRATEST */ + smb_panic("prs_grow: ralloc fail\n"); + /* JRATEST */ return False; } |