projects
/
platform
/
upstream
/
libsolv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- add solv_strdup(), rename repo_freeallrepos() to pool_freeallrepos()
[platform/upstream/libsolv.git]
/
ext
/
repo_zyppdb.c
diff --git
a/ext/repo_zyppdb.c
b/ext/repo_zyppdb.c
index
84c2984
..
e31ecc7
100644
(file)
--- a/
ext/repo_zyppdb.c
+++ b/
ext/repo_zyppdb.c
@@
-105,7
+105,7
@@
find_attr(const char *txt, const char **atts, int dup)
for (; *atts; atts += 2)
{
if (!strcmp(*atts, txt))
- return dup ? strdup(atts[1]) : atts[1];
+ return dup ? s
olv_s
trdup(atts[1]) : atts[1];
}
return 0;
}