~ubuntu-branches/ubuntu/wily/trafficserver/wily

« back to all changes in this revision

Viewing changes to iocore/eventsystem/P_Freer.h

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-12-17 22:28:16 UTC
  • mfrom: (5.1.8 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121217222816-7xwjsx5k76zkb63d
Tags: 3.2.0-1ubuntu1
* Revert FreeBSD strerror_r() fixes that give errors with glibc 2.16.
* Apply patch from Konstantinos Margaritis to define barriers on ARM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
struct FreerContinuation: public Continuation
83
83
{
84
84
  void *p;
 
85
 
85
86
  int dieEvent(int event, Event * e)
86
87
  {
87
88
    (void) event;
88
89
    (void) e;
89
 
    xfree(p);
 
90
    ats_free(p);
90
91
    delete this;
91
 
      return EVENT_DONE;
 
92
    return EVENT_DONE;
92
93
  }
 
94
 
93
95
  FreerContinuation(void *ap):Continuation(NULL), p(ap)
94
96
  {
95
97
    SET_HANDLER((FreerContHandler) & FreerContinuation::dieEvent);