OSDN Git Service
(root)
/
git-core
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
diff.c: emit_diff_symbol learns about DIFF_SYMBOL_SUMMARY
[git-core/git.git]
/
remote-testsvn.c
diff --git
a/remote-testsvn.c
b/remote-testsvn.c
index
e034ea0
..
0ff4a31
100644
(file)
--- a/
remote-testsvn.c
+++ b/
remote-testsvn.c
@@
-66,8
+66,7
@@
static char *read_ref_note(const struct object_id *oid)
else if (!msglen || type != OBJ_BLOB) {
error("Note contains unusable content. "
"Is something else using this notes tree? %s", notes_ref);
- free(msg);
- msg = NULL;
+ FREE_AND_NULL(msg);
}
free_notes(NULL);
return msg;