[Pidgin] #4422: SIP Publish Etag/If-Match

Pidgin trac at pidgin.im
Mon Dec 17 16:38:52 EST 2007


#4422: SIP Publish Etag/If-Match
-----------------------+----------------------------------------------------
  Reporter:  hawkinsw  |       Owner:  seanegan
      Type:  patch     |      Status:  new     
  Priority:  minor     |   Milestone:          
 Component:  SIMPLE    |     Version:  2.3.0   
Resolution:            |    Keywords:  publish 
   Pending:  0         |  
-----------------------+----------------------------------------------------
Comment (by QuLogic):

 You are leaking `add_headers` by doing this:
 {{{
 add_headers = g_strdup_printf("SIP-If-Match: %s\r\n%s",
                               sip->publish_etag,
                               add_headers);
 }}}
 Also, in `send_closed_publish`, you introduced `add_headers` again, but
 did not `g_free` it.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/4422#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list