Ignore:
Timestamp:
Dec 19, 2014, 6:43:54 PM (5 years ago)
Author:
ldelgass
Message:

Fix leak in sendDataToClient method (when USE_THREADS is enabled)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nanovis/trunk/Command.cpp

    r4823 r4880  
    13631363
    13641364        char info[1024];
    1365         int cmdLength = 
     1365        int cmdLength =
    13661366            sprintf(info, "nv>data tag %s min %g max %g vmin %g vmax %g\n", tag,
    13671367                    volume->wAxis.min(), volume->wAxis.max(),
     
    23452345nv::initTcl(Tcl_Interp *interp, ClientData clientData)
    23462346{
    2347     /*
    2348      * Ideally the connection is authenticated by nanoscale.  I still like the
    2349      * idea of creating a non-safe master interpreter with a safe slave
    2350      * interpreter.  Alias all the nanovis commands in the slave. That way we
    2351      * can still run Tcl code within nanovis.  The eventual goal is to create
    2352      * a test harness through the interpreter for nanovis.
    2353      */
    2354 
    23552347    Tcl_MakeSafe(interp);
    23562348
Note: See TracChangeset for help on using the changeset viewer.