changeset 32:dcbfe2bc8929 DistributedMalloc

removed double free
author Merten Sach <msach@mailbox.tu-berlin.de>
date Tue, 27 Sep 2011 14:34:14 +0200
parents b37c38418637
children
files SSR_PluginFns.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/SSR_PluginFns.c	Thu Sep 22 12:01:22 2011 +0200
     1.2 +++ b/SSR_PluginFns.c	Tue Sep 27 14:34:14 2011 +0200
     1.3 @@ -77,8 +77,6 @@
     1.4              break;
     1.5           case createReq:    handleCreate(         req, requestingPr, semEnv);
     1.6              break;
     1.7 -         case dissipate:    handleDissipate(           requestingPr, semEnv);
     1.8 -            break;
     1.9           case VMSSemantic:  VMS__handle_VMSSemReq(req, requestingPr, semEnv,
    1.10                                                                    &resume_procr);
    1.11              break;
    1.12 @@ -88,7 +86,7 @@
    1.13        if(req->reqType == dissipate)
    1.14        {
    1.15            handleDissipate(requestingPr, semEnv);
    1.16 -          break;
    1.17 +          break; //make sure this is the last handler, because the procr is gone
    1.18        }
    1.19        req = VMS__take_next_request_out_of( requestingPr );
    1.20      } //while( req != NULL )