[Pidgin] #16092: Pidgin memory allocation grows without limit

Pidgin trac at pidgin.im
Mon Mar 3 17:49:58 EST 2014


#16092: Pidgin memory allocation grows without limit
--------------------------+--------------------------
 Reporter:  hayhackerall  |      Owner:  EionRobb
     Type:  enhancement   |     Status:  new
Milestone:                |  Component:  unclassified
  Version:  2.10.9        |   Keywords:
--------------------------+--------------------------
 // here is a code used to check if there is still memory for the new
 plugin to be created, if so create else give error.
 void * xmalloc (size_t size)
 {
 register void *value = malloc (size);
 if (value == 0)
 fatal ("virtual memory exhausted");
 return value;
 }
 // at line 51 we put this condition
 if ((xmalloc((size)mplug))

-- 
Ticket URL: <https://developer.pidgin.im/ticket/16092>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list