diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2012-11-24 00:15:17 +0000 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2012-11-24 00:15:17 +0000 | 
| commit | c751e512afd4dc200c04a70cc6d0edb94e63e8b3 (patch) | |
| tree | bb0bcdc67019cbc078b1afcca3161aa45b8445a6 /protocols | |
| parent | 5aa96fc81a66224d9218e54d70944b1ef3d26e2d (diff) | |
Fixing one obvious memory leak.
Diffstat (limited to 'protocols')
| -rw-r--r-- | protocols/twitter/twitter_lib.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c index ff1d9f22..36efc18a 100644 --- a/protocols/twitter/twitter_lib.c +++ b/protocols/twitter/twitter_lib.c @@ -1157,6 +1157,8 @@ static void twitter_http_post(struct http_request *req)  	if ((id = json_o_get(parsed, "id")) && id->type == json_integer)  		td->last_status_id = id->u.integer; +	 +	json_value_free(parsed);  }  /** | 
