]> asedeno.scripts.mit.edu Git - git.git/blobdiff - builtin-blame.c
Merge git://repo.or.cz/git-gui
[git.git] / builtin-blame.c
index 99ea0a02cb39bb72b39f147e75a2aa3850bfe3d2..9b4c02e87f7ef4a20d269ab9315b6977cf7fb3fb 100644 (file)
@@ -125,7 +125,6 @@ static void origin_decref(struct origin *o)
        if (o && --o->refcnt <= 0) {
                if (o->file.ptr)
                        free(o->file.ptr);
-               memset(o, 0, sizeof(*o));
                free(o);
        }
 }
@@ -607,7 +606,7 @@ static void add_blame_entry(struct scoreboard *sb, struct blame_entry *e)
 
 /*
  * src typically is on-stack; we want to copy the information in it to
- * an malloced blame_entry that is already on the linked list of the
+ * a malloced blame_entry that is already on the linked list of the
  * scoreboard.  The origin of dst loses a refcnt while the origin of src
  * gains one.
  */