[jQuery] Plugin Newb: Internal Functions

[jQuery] Plugin Newb: Internal Functions


First, a thousand pardons! I see several threads that kinda' address
my question, but they're all a little over my head.
On the makeGreen function below, is this an acceptable way to
implement an internal function? If I'm guessing right, we're operating
on an object, so arguments are passed by reference, and this is NOT a
memory leak?
(function(jQuery){
jQuery.fn.ajaxMemo = function(options){
    var defaults = {
        receivingPage: '/ajax/async-home.php'
    };
    var options = $.extend(defaults, options);
    return this.each(function(){
        var obj = $(this);
        makeGreen(obj);
    });
    function makeGreen(obj){
        obj.click(function(){
            obj.css("backgroundColor","green");
        });
    }
};
})(jQuery);