chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
time-util: when formatting usec_t as raw integers use PRIu64
[elogind.git]
/
src
/
basic
/
prioq.c
diff --git
a/src/basic/prioq.c
b/src/basic/prioq.c
index d2ec516d297ccaca972cb8d9d85bb36e600c8716..4570b8e4baab44afa49ef667257833be54568fde 100644
(file)
--- a/
src/basic/prioq.c
+++ b/
src/basic/prioq.c
@@
-62,9
+62,7
@@
Prioq* prioq_free(Prioq *q) {
return NULL;
free(q->items);
return NULL;
free(q->items);
- free(q);
-
- return NULL;
+ return mfree(q);
}
int prioq_ensure_allocated(Prioq **q, compare_func_t compare_func) {
}
int prioq_ensure_allocated(Prioq **q, compare_func_t compare_func) {