Ticket #1515 (closed defect: fixed)

Opened 8 months ago

Last modified 8 months ago

Enforce use of ARRAY_STATIC_FREE instead of FOREACH(...); if (x->ptr) free(x->ptr);

Reported by: stbuehler Owned by: glen
Priority: normal Milestone: 1.5.0
Component: mod_proxy_core Version: 1.5.x-svn
Severity: normal Keywords: patch
Cc: Blocked By:
Need User Feedback: no Blocking:

Description

It just looks better ;-) Added one NULL pointer check, too. (I think every _free function should check its parameters for NULL).

Attachments

06-enforce-use-of-array_static_fr.patch (2.0 kB) - added by stbuehler 8 months ago.

Change History

Changed 8 months ago by stbuehler

Changed 8 months ago by stbuehler

  • keywords patch added

Changed 8 months ago by glen

  • owner changed from jan to glen

Changed 8 months ago by glen

  • status changed from new to closed
  • resolution set to fixed

Committed revision [2032].

Add/Change #1515 (Enforce use of ARRAY_STATIC_FREE instead of FOREACH(...); if (x->ptr) free(x->ptr);)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.