Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3f3d0bc0 authored by Tero Roponen's avatar Tero Roponen Committed by Li Zefan
Browse files

Btrfs: Free correct pointer after using strsep



We must save and free the original kstrdup()'ed pointer
because strsep() modifies its first argument.

Signed-off-by: default avatarTero Roponen <tero.roponen@gmail.com>
Signed-off-by: default avatarLi Zefan <lizf@cn.fujitsu.com>
parent bdc924bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment