projects
/
prss.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(no commit message)
[prss.git]
/
src
/
main.c
diff --git
a/src/main.c
b/src/main.c
index
4d180bc
..
5b23720
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-277,7
+277,7
@@
int headline_cursor_changed_cbk(GtkTreeView *treeview, gpointer data)
GtkTreeIter iter;
GtkTreeModel *model;
struct headline *headline;
GtkTreeIter iter;
GtkTreeModel *model;
struct headline *headline;
- c
onst c
har *str;
+ char *str;
printf("headline_cursor_changed_cbk\n");
printf("headline_cursor_changed_cbk\n");
@@
-294,6
+294,8
@@
int headline_cursor_changed_cbk(GtkTreeView *treeview, gpointer data)
else
web_load("");
else
web_load("");
+ free(str);
+
if (headline->unread) {
ttrss_set_article_unread(headline->id, 0);
headline->unread = 0;
if (headline->unread) {
ttrss_set_article_unread(headline->id, 0);
headline->unread = 0;