1. 17 Oct, 2011 2 commits
    • Johannes Schindelin's avatar
      Update AUTHORS · e3b8aaab
      Johannes Schindelin authored
      Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
      e3b8aaab
    • George Fleury's avatar
      Fix memory leak · fba4818a
      George Fleury authored
      I was debbuging some code tonight and i found a pointer that is not been
      freed, so i think there is maybe a memory leak, so it is...
      
      there is the malloc caller reverse order:
      
      ( malloc cl->statEncList )
      	<- rfbStatLookupEncoding
      	<- rfbStatRecordEncodingSent
      	<- rfbSendCursorPos
      	<- rfbSendFramebufferUpdate
      	<- rfbProcessEvents
      
      I didnt look the whole libvncserver api, but i am using
      rfbReverseConnection with rfbProcessEvents, and then when the client
      connection dies, i am calling a rfbShutdownServer and rfbScreenCleanup,
      but the malloc at rfbStatLookupEncoding isnt been freed.
      
      So to free the stats i added a rfbResetStats(cl) after rfbPrintStats(cl)
      at rfbClientConnectionGone in rfbserver.c before free the cl pointer. (at
      rfbserver.c line 555). And this, obviously, is correcting the memory leak.
      Signed-off-by: 's avatarJohannes Schindelin <johannes.schindelin@gmx.de>
      fba4818a
  2. 12 Oct, 2011 1 commit
  3. 10 Oct, 2011 1 commit
  4. 04 Oct, 2011 2 commits
  5. 22 Sep, 2011 1 commit
  6. 21 Sep, 2011 1 commit
  7. 20 Sep, 2011 3 commits
  8. 19 Sep, 2011 7 commits
  9. 11 Sep, 2011 3 commits
  10. 08 Sep, 2011 1 commit
  11. 30 Aug, 2011 3 commits
  12. 29 Aug, 2011 2 commits
  13. 25 Aug, 2011 9 commits
  14. 17 Aug, 2011 4 commits