Project

General

Profile

Actions

Optimization #1313

open

All Free functions should correctly handle NULL pointers

Added by Ken Steele about 10 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Target version:
Effort:
medium
Difficulty:
low
Label:

Description

All memory free functions should properly handle NULL pointers (including SCFree). Then all the NULL checks before calling the free functions can be removed, making the code simpler.

By default free() function can handle a null pointer.

Actions #1

Updated by Andreas Herz almost 9 years ago

  • Assignee set to OISF Dev
  • Target version set to TBD
Actions #2

Updated by Victor Julien over 6 years ago

  • Assignee changed from OISF Dev to Anonymous
  • Priority changed from Low to Normal
  • Effort set to medium
  • Difficulty set to low
Actions #3

Updated by Andreas Herz almost 6 years ago

  • Assignee set to Community Ticket
Actions

Also available in: Atom PDF