Changeset 11b285d in mainline for kernel/generic/src/sysinfo/sysinfo.c
- Timestamp:
- 2018-05-13T15:19:32Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad896eb
- Parents:
- 13db2044
- git-author:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-05-13 14:59:01)
- git-committer:
- Jiří Zárevúcky <jiri.zarevucky@…> (2018-05-13 15:19:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/sysinfo/sysinfo.c
r13db2044 r11b285d 649 649 return ret; 650 650 651 char *path = (char *) malloc(size + 1, 0);651 char *path = (char *) nfmalloc(size + 1); 652 652 assert(path); 653 653 … … 716 716 } else { 717 717 /* Allocate buffer for subkeys */ 718 char *names = (char *) malloc(size , FRAME_ATOMIC);718 char *names = (char *) malloc(size); 719 719 if (names == NULL) 720 720 return ret; … … 758 758 return ret; 759 759 760 char *path = (char *) malloc(size + 1, 0);760 char *path = (char *) nfmalloc(size + 1); 761 761 assert(path); 762 762
Note:
See TracChangeset
for help on using the changeset viewer.