Changeset a12f7f1 in mainline for uspace/lib/posix/locale.c


Ignore:
Timestamp:
2011-07-21T02:24:41Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cfbb5d18
Parents:
94f8b81c
Message:

All occurences of call to native free() secured from passing NULL pointer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/locale.c

    r94f8b81c ra12f7f1  
    127127void posix_freelocale(posix_locale_t locobj)
    128128{
    129         free(locobj);
     129        if (locobj) {
     130                free(locobj);
     131        }
    130132}
    131133
Note: See TracChangeset for help on using the changeset viewer.