Skip to content
Tcl Source Code History Of Ticket 517503ffffffffff
Login

History Of Ticket 517503ffffffffff

Artifacts Associated With Ticket 517503ffffffffff

  1. Ticket change [0d2e77b366] (rid 114316) by msofer on 2002-02-14 13:32:06:

    1. assignee initialized to: "andreas_kupries"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      While looking through the sources, I have stumbled
      accross something that looks to me like a possible
      memory leak. I may be missing something though.
      
      The issue is in function Tcl_GetsObjCmd (tclIOCmd.c):
      on line 253 we see
          if (objc == 3) {
      Tcl_DecrRefCount(linePtr);
          }
      I think that linePtr should be Tcl_DecrRefCount'ed also
      when objc is not equal to 3.
      
      As it is, I suspect the linePtr object will be leaked
      when there is an error reading the channel in
                        set myVar [gets $chan]
      i.e., with (objc == 2)
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "24. Channel Commands"
    10. title initialized to: "mem leakin Tcl_GetsObjCmd ?"
    11. type initialized to: "Bug"
  2. Ticket change [ceb501edf0] (rid 96098) by dkf on 2002-02-14 21:19:04:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Looks like a leak to me, though an awkward one to hit in
      practice.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [6afb121bb0] (rid 128241) by andreas_kupries on 2002-02-15 00:26:20:

    1. priority changed to: "8"
  4. Ticket change [96f795e631] (rid 106426) by andreas_kupries on 2002-02-15 02:05:37:

    1. icomment:
      Logged In: YES 
      user_id=75003
      
      I agree.
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  5. Add attachment "517503.diff" [340dffc68e] (rid 106698) by andreas_kupries on 2002-02-15 02:11:59.

  6. Ticket change [2bb948a8a9] (rid 118790) by andreas_kupries on 2002-02-15 02:11:59:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=75003
      
      Trivial patch. Please review :)
      
      
    3. login: "andreas_kupries"
    4. mimetype: "text/plain"
    5. username: "andreas_kupries"
  7. Ticket change [b59e48d6fe] (rid 125274) by andreas_kupries on 2002-02-15 02:12:00:

    1. icomment:
      
      
      File Added - 17880: 517503.diff
      
      
      
    2. login: "andreas_kupries"
    3. mimetype: "text/plain"
    4. username: "andreas_kupries"
  8. Ticket change [ff08adbb88] (rid 108691) by msofer on 2002-02-15 02:19:23:

    1. assignee changed to: "andreas_kupries"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      Yep, that's it. 
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. title changed to: "mem leak in Tcl_GetsObjCmd ?"
    6. username: "msofer"
  9. Ticket change [3201a25385] (rid 93535) by andreas_kupries on 2002-02-15 02:24:55:

    1. closedate changed to: "2002-02-14T19:24:55"
    2. closer changed to: "andreas_kupries"
    3. icomment:
      Logged In: YES 
      user_id=75003
      
      Committed to head.
      
      
    4. login: "andreas_kupries"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "andreas_kupries"