Project

General

Profile

Actions

Optimization #1313

open

All Free functions should correctly handle NULL pointers

Added by Ken Steele about 8 years ago. Updated almost 4 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

Also available in: Atom PDF