WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#11074 closed defect (bug) (fixed)

SimplePie and memory leaks

Reported by: arena Owned by: arena
Milestone: 2.9 Priority: high
Severity: major Version: 2.9
Component: Feeds Keywords: has-patch tested
Focuses: Cc:

Description

Apply SimplePie guidelines to avoid memory leaks

see

http://simplepie.org/wiki/reference/simplepie/destruct

Attachments (2)

11074.patch (3.2 KB) - added by arena 4 years ago.
11074.2.patch (3.2 KB) - added by scribu 4 years ago.
prevent fatal error

Download all attachments as: .zip

Change History (7)

arena4 years ago

comment:1 arena4 years ago

  • Keywords has-patch needs-testing removed

On plugins DashBoard Widget, noticed :

Fatal error: Call to undefined method WP_Error::destruct() in C:\Vn\wptest\wp-admin\includes\dashboard.php on line 837

comment:2 arena4 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

comment:3 scribu4 years ago

  • Keywords needs-patch added
  • Resolution wontfix deleted
  • Status changed from closed to reopened

scribu4 years ago

prevent fatal error

comment:4 scribu4 years ago

  • Keywords has-patch tested added; needs-patch removed

comment:5 ryan4 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [12193]) Force destruction of SimplePie objects for versions of PHP that don't release memory properly. Props arena, scribu. fixes #11074

Note: See TracTickets for help on using tickets.