summaryrefslogtreecommitdiffstats
path: root/shlibs/mount/src/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'shlibs/mount/src/cache.c')
-rw-r--r--shlibs/mount/src/cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shlibs/mount/src/cache.c b/shlibs/mount/src/cache.c
index 18cf9fad2..b9d89f438 100644
--- a/shlibs/mount/src/cache.c
+++ b/shlibs/mount/src/cache.c
@@ -408,7 +408,8 @@ error:
* @spec: path or tag
* @cache: paths cache
*
- * Returns canonicalized path or NULL.
+ * Returns canonicalized path or NULL. The result has to be
+ * deallocated by free() if @cache is NULL.
*/
char *mnt_resolve_spec(const char *spec, mnt_cache *cache)
{