1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
systemd/src/basic
Lennart Poettering a1e58e8ee1 tree-wide: use coccinelle to patch a lot of code to use mfree()
This replaces this:

        free(p);
        p = NULL;

by this:

        p = mfree(p);

Change generated using coccinelle. Semantic patch is added to the
sources.
2015-09-09 08:19:27 +02:00
..
linux build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
.gitignore build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
af-list.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
af-list.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
arphrd-list.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
arphrd-list.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
async.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
async.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
audit.c audit: audit calls should return ENODATA when process are not in an audit session 2015-09-04 09:07:31 +02:00
audit.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
barrier.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
barrier.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
bitmap.c tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
bitmap.h bitmap: use external iterator 2015-07-16 14:11:12 +02:00
blkid-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
btrfs-ctree.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
btrfs-util.c btrfs-util: when snapshotting make sure we don't descent into subvolumes we just created 2015-06-15 18:11:11 +02:00
btrfs-util.h btrfs-util: when snapshotting make sure we don't descent into subvolumes we just created 2015-06-15 18:11:11 +02:00
build.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
bus-label.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
bus-label.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
calendarspec.c tree-wide: port everything over to fflush_and_check() 2015-07-29 20:31:07 +02:00
calendarspec.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
cap-list.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
cap-list.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
capability.c fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
capability.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
cgroup-util.c cgroup-util: fix devices controller 2015-09-08 10:42:22 +02:00
cgroup-util.h core: unified cgroup hierarchy support 2015-09-01 23:52:27 +02:00
clock-util.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
clock-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
conf-files.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
conf-files.h nspawn: add new .nspawn files for container settings 2015-09-06 01:49:06 +02:00
copy.c copy: add splice() based fallback 2015-08-28 02:05:42 +02:00
copy.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
def.h core: unified cgroup hierarchy support 2015-09-01 23:52:27 +02:00
device-nodes.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
device-nodes.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
env-util.c strv: convert strv_split_quotes into a generic strv_split_extract 2015-08-07 15:50:43 +00:00
env-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
errno-list.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
errno-list.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
ether-addr-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
exit-status.c exit-status: add a missing string for EXIT_SMACK_PROCESS_LABEL 2015-07-24 14:51:05 +09:00
exit-status.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
fdset.c hashmap: fix iterators to not skip entries 2015-06-14 16:56:02 +02:00
fdset.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
fileio-label.c fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
fileio-label.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
fileio.c tree-wide: port everything over to fflush_and_check() 2015-07-29 20:31:07 +02:00
fileio.h fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
gunicode.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
gunicode.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
hashmap.c Merge pull request #294 from teg/hashmap-debug-locking-2 2015-06-18 22:05:09 +02:00
hashmap.h hashmap: remove _IDX_ITERATOR_NIL definition 2015-06-17 17:28:44 +02:00
hostname-util.c util: make hostname_is_valid() easier to read 2015-08-24 22:46:45 +02:00
hostname-util.h util: make machine_name_is_valid() a macro and move it to hostname-util.h 2015-08-24 22:46:45 +02:00
in-addr-util.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
in-addr-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
ioprio.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
json.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
json.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
label.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
label.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
list.h basic: add LIST_INSERT_BEFORE 2015-08-04 03:23:43 -07:00
locale-util.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
locale-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
lockfile-util.c tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
lockfile-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
log.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
log.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
login-util.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
login-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
macro.h macro: introduce new PID_TO_PTR macros and make use of them 2015-09-04 09:07:30 +02:00
Makefile build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
memfd-util.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
memfd-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
mempool.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
mempool.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
missing.h core: unified cgroup hierarchy support 2015-09-01 23:52:27 +02:00
mkdir-label.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
mkdir.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
mkdir.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
MurmurHash2.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
MurmurHash2.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
ordered-set.h hashmap: fix iterators to not skip entries 2015-06-14 16:56:02 +02:00
path-util.c basic: simplify path_is_mount_point() a bit 2015-07-11 14:20:44 -03:00
path-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
prioq.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
prioq.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
process-util.c process-util: trivial optimization 2015-08-31 13:20:43 +02:00
process-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
random-util.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
random-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
ratelimit.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
ratelimit.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
refcnt.h basic: document that people shouldn't use refcnt.h without reason 2015-08-26 21:04:38 +02:00
replace-var.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
replace-var.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
ring.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
ring.h tree-wide: we place the opening bracket on the same line as the function name 2015-08-27 17:48:24 +02:00
rm-rf.c tmpfiles: silently ignore failed removal of btrfs submount from non-dir 2015-06-16 16:23:13 +02:00
rm-rf.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
securebits.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
selinux-util.c selinux: always use *_raw API from libselinux 2015-09-01 17:09:56 +02:00
selinux-util.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
set.h set: return NULL on destructors 2015-09-01 17:20:56 +02:00
sigbus.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
sigbus.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
signal-util.c signal-util: fix incorrect argument of va_start 2015-06-16 11:41:59 +02:00
signal-util.h everywhere: port everything to sigprocmask_many() and friends 2015-06-15 20:13:23 +02:00
siphash24.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
siphash24.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
smack-util.c smack-util: revise smack-util apis and add read smack attr apis 2015-08-04 21:11:19 +09:00
smack-util.h smack-util: revise smack-util apis and add read smack attr apis 2015-08-04 21:11:19 +09:00
socket-label.c socket: Set SO_REUSEPORT before bind() 2015-07-01 16:43:03 +03:00
socket-util.c basic: fix error/memleak in socket-util 2015-07-31 11:52:21 +02:00
socket-util.h socket: Set SO_REUSEPORT before bind() 2015-07-01 16:43:03 +03:00
sparse-endian.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
special.h core: unified cgroup hierarchy support 2015-09-01 23:52:27 +02:00
strbuf.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
strbuf.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
strv.c tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
strv.h strv: Add strv_shell_escape 2015-08-07 15:50:43 +00:00
strxcpyx.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
strxcpyx.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
terminal-util.c machined: introduce a ptsname_namespace() call and make use of it 2015-09-01 20:40:24 +02:00
terminal-util.h machined: introduce a ptsname_namespace() call and make use of it 2015-09-01 20:40:24 +02:00
time-util.c tree-wide: do not shadow the global var timezone 2015-09-01 18:20:13 +02:00
time-util.h Merge pull request #1063 from poettering/dbus-interface-from-type 2015-08-28 12:01:46 +02:00
unaligned.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
unit-name.c core: add unit_dbus_interface_from_type() to unit-name.h 2015-08-28 02:10:10 +02:00
unit-name.h core: add unit_dbus_interface_from_type() to unit-name.h 2015-08-28 02:10:10 +02:00
utf8.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
utf8.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
util.c basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
util.h core: pass details to polkit for some unit actions 2015-09-06 00:07:17 +10:00
verbs.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
verbs.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
virt.c basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
virt.h basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
xml.c build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00
xml.h build-sys: split internal basic/ library from shared/ 2015-06-11 10:52:46 +02:00